[docs] Add missed specialisations warnings to list of those not enabled by -Wall
authorMaximilian Tagher <feedback.tagher@gmail.com>
Sat, 28 Jul 2018 21:04:16 +0000 (14:04 -0700)
committerBen Gamari <ben@smart-cactus.org>
Mon, 6 Aug 2018 22:32:45 +0000 (18:32 -0400)
Enabling `-Weverything` does enable those warnings.

(cherry picked from commit b062bd10a88ea407ae91610f822f0c352909bcce)
(cherry picked from commit 24b76d1bef7e61791907fbd063f85643eeb1211a)

docs/users_guide/using-warnings.rst

index 21e6aef..2643f8f 100644 (file)
@@ -82,6 +82,8 @@ The following flags are simple ways to select standard "packages" of warnings:
         * :ghc-flag:`-Widentities`
         * :ghc-flag:`-Wredundant-constraints`
         * :ghc-flag:`-Wpartial-fields`
+        * :ghc-flag:`-Wmissed-specialisations`
+        * :ghc-flag:`-Wall-missed-specialisations`
 
 .. ghc-flag:: -Weverything
     :shortdesc: enable all warnings supported by GHC