diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2021-06-17 09:58:38 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-19 12:26:35 -0400 |
commit | 217b4dcc004faffd3c7f5d15ba002dcfb0d1027e (patch) | |
tree | bb323bd99384e3c4e1b0bf70877f00ac37b0d042 /compiler/GHC/Driver/Session.hs | |
parent | fc8ad5f35a8ec314c801b226a9165b5354363a72 (diff) | |
download | haskell-217b4dcc004faffd3c7f5d15ba002dcfb0d1027e.tar.gz |
Deprecate -Wmissing-monadfail-instances (#17875)
Also document deprecation of Wnoncanonical-monadfail-instances
and -Wimplicit-kind-vars
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r-- | compiler/GHC/Driver/Session.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs index aa761325d3..8b760a1b08 100644 --- a/compiler/GHC/Driver/Session.hs +++ b/compiler/GHC/Driver/Session.hs @@ -3172,7 +3172,8 @@ wWarningFlagsDeps = mconcat [ "it is replaced by -Wmissing-local-signatures", warnSpec Opt_WarnMissingLocalSignatures, warnSpec Opt_WarnMissingMethods, - warnSpec Opt_WarnMissingMonadFailInstances, + depWarnSpec Opt_WarnMissingMonadFailInstances + "fail is no longer a method of Monad", warnSpec Opt_WarnSemigroup, warnSpec Opt_WarnMissingSignatures, warnSpec Opt_WarnMissingKindSignatures, |