summaryrefslogtreecommitdiff
path: root/docs/users_guide/using-warnings.rst
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-09-29 23:29:47 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-30 09:30:08 -0400
commit9c05fc4c31edde34a68317b45fdd71510d868f60 (patch)
tree0b86247c7a8e960f7a0308d12e177ee474bcb47b /docs/users_guide/using-warnings.rst
parent464396d00450efb58330987ebac4735902ba0f01 (diff)
downloadhaskell-9c05fc4c31edde34a68317b45fdd71510d868f60.tar.gz
user-guide: Document -Weverything
[skip ci] Reviewers: hvr, austin, dfeuer Reviewed By: dfeuer Subscribers: rwbarton, thomie GHC Trac Issues: #14284 Differential Revision: https://phabricator.haskell.org/D4043
Diffstat (limited to 'docs/users_guide/using-warnings.rst')
-rw-r--r--docs/users_guide/using-warnings.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 39d7de4147..15b6301ab9 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -79,6 +79,13 @@ The following flags are simple ways to select standard "packages" of warnings:
* :ghc-flag:`-Widentities`
* :ghc-flag:`-Wredundant-constraints`
+.. ghc-flag:: -Weverything
+ :shortdesc: enable all warnings supported by GHC
+ :type: dynamic
+ :category:
+
+ Turns on every single warning supported by the compiler.
+
.. ghc-flag:: -Wcompat
:shortdesc: enable future compatibility warnings
(details in :ref:`options-sanity`)