summaryrefslogtreecommitdiff
path: root/docs/users_guide/safe_haskell.rst
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-18 15:56:52 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-19 22:16:51 -0400
commitfe819dd637842fb564524a7cf80612a3673ce14c (patch)
tree41c4fdf671343297bf3a06a40ba5956c273851bc /docs/users_guide/safe_haskell.rst
parentaa4891a729649051f45adcef1fddbda1b0639e94 (diff)
downloadhaskell-fe819dd637842fb564524a7cf80612a3673ce14c.tar.gz
users-guide: Update -Wsafe description for #16689
We no longer emit a warning when a safe module is explicitly declared as such.
Diffstat (limited to 'docs/users_guide/safe_haskell.rst')
-rw-r--r--docs/users_guide/safe_haskell.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/users_guide/safe_haskell.rst b/docs/users_guide/safe_haskell.rst
index 7d7e120613..bf7f1fb5d0 100644
--- a/docs/users_guide/safe_haskell.rst
+++ b/docs/users_guide/safe_haskell.rst
@@ -761,7 +761,8 @@ And three warning flags:
Issue a warning if the module being compiled is regarded to be safe.
Should be used to check the safety type of modules when using safe
- inference.
+ inference. If the module is explicitly marked as safe then no warning will
+ be issued.
.. ghc-flag:: -Wtrustworthy-safe
:shortdesc: warn if the module being compiled is marked as