summaryrefslogtreecommitdiff
path: root/docs/users_guide/8.8.1-notes.rst
diff options
context:
space:
mode:
authorchessai <chessai1996@gmail.com>2018-12-26 12:12:37 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-26 12:12:38 -0500
commit29fc289449adc6af3abd12f66bda98e0a1bad388 (patch)
tree8da1c1d254e4d060ae7c45426533c2cdb834a409 /docs/users_guide/8.8.1-notes.rst
parent942b501972139ed95b49b75cb8c0523b460f6d10 (diff)
downloadhaskell-D5451.tar.gz
add -Wmissing-deriving-strategiesD5451
Warn users when -XDerivingStrategies is enabled but not used, at each potential use site. add -Wmissing-deriving-strategies Reviewers: bgamari, RyanGlScott Subscribers: andrewthad, rwbarton, carter GHC Trac Issues: #15798 Differential Revision: https://phabricator.haskell.org/D5451
Diffstat (limited to 'docs/users_guide/8.8.1-notes.rst')
-rw-r--r--docs/users_guide/8.8.1-notes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/8.8.1-notes.rst b/docs/users_guide/8.8.1-notes.rst
index 6e52a63038..836736499b 100644
--- a/docs/users_guide/8.8.1-notes.rst
+++ b/docs/users_guide/8.8.1-notes.rst
@@ -84,6 +84,10 @@ Compiler
- The deprecated ghc-flag ``-Wamp`` has been removed.
+- Add new :ghc-flag:`-Wmissing-deriving-strategies` flag that warns users when they are not
+ taking advantage of :extension:`DerivingStrategies`. The warning is supplied at each
+ ``deriving`` site.
+
Runtime system
~~~~~~~~~~~~~~