diff options
author | Valery Tolstov <me@vtolstov.org> | 2020-06-25 02:45:33 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-03 02:50:03 -0400 |
commit | 34be6523a220b2be972b391d8ad26b75f7c26eb1 (patch) | |
tree | 5ac0d9b6aa784b64028d453d6380abd1a77ed0cd | |
parent | b835112cbeaa6e34a8bae7b7697bdf2826edaa9a (diff) | |
download | haskell-34be6523a220b2be972b391d8ad26b75f7c26eb1.tar.gz |
Mention flags that are not enabled by -Wall (#18372)
* Mention missing flags that are not actually enabled by -Wall (docs/users_guide/using-warnings.rst)
* Additionally remove -Wmissing-monadfail-instances from the list of flags enabled by -Wcompat, as it is not the case since 8.8
-rw-r--r-- | docs/users_guide/using-warnings.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 990d478af6..256d143f45 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -94,6 +94,11 @@ The following flags are simple ways to select standard "packages" of warnings: * :ghc-flag:`-Wpartial-fields` * :ghc-flag:`-Wmissed-specialisations` * :ghc-flag:`-Wall-missed-specialisations` + * :ghc-flag:`-Wcpp-undef` + * :ghc-flag:`-Wduplicate-constraints` + * :ghc-flag:`-Wmissing-deriving-strategies` + * :ghc-flag:`-Wunused-packages` + * :ghc-flag:`-Wunused-type-patterns` .. ghc-flag:: -Weverything :shortdesc: enable all warnings supported by GHC @@ -119,7 +124,6 @@ The following flags are simple ways to select standard "packages" of warnings: .. hlist:: :columns: 3 - * :ghc-flag:`-Wmissing-monadfail-instances` * :ghc-flag:`-Wsemigroup` * :ghc-flag:`-Wnoncanonical-monoid-instances` * :ghc-flag:`-Wstar-is-type` |