summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFendor <power.walross@gmail.com>2021-02-07 16:20:24 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-10 14:30:54 -0500
commit40983d2331fe34c0af6925db7588d5ac6a19ae36 (patch)
tree29e94bb12ad62380aeaebbfb6cfbab56f70109e4
parent3d27bc30b8afc47dca27bb4011a9287f671871dd (diff)
downloadhaskell-40983d2331fe34c0af6925db7588d5ac6a19ae36.tar.gz
Add -Wsafe to flags not enabled by -Wall
-rw-r--r--docs/users_guide/using-warnings.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 9b7f625bb6..252b6a5383 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -111,6 +111,7 @@ The following flags are simple ways to select standard "packages" of warnings:
* :ghc-flag:`-Wmissing-deriving-strategies`
* :ghc-flag:`-Wunused-packages`
* :ghc-flag:`-Wunused-type-patterns`
+ * :ghc-flag:`-Wsafe`
.. ghc-flag:: -Weverything
:shortdesc: enable all warnings supported by GHC