summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/mkUserGuidePart/Options/Warnings.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/mkUserGuidePart/Options/Warnings.hs b/utils/mkUserGuidePart/Options/Warnings.hs
index 593a20cf7e..d3c2a5c2c2 100644
--- a/utils/mkUserGuidePart/Options/Warnings.hs
+++ b/utils/mkUserGuidePart/Options/Warnings.hs
@@ -145,6 +145,13 @@ warningsOptions =
, flagType = DynamicFlag
, flagReverse = "-fno-warn-missing-local-sigs"
}
+ , flag { flagName = "-fwarn-missing-monadfail-instance"
+ , flagDescription =
+ "warn when a failable pattern is used in a do-block that does not "++
+ "have a ``MonadFail`` instance."
+ , flagType = DynamicFlag
+ , flagReverse = "-fno-warn-missing-monadfail-instance"
+ }
, flag { flagName = "-fwarn-missed-specialisations"
, flagDescription =
"warn when specialisation of an imported, overloaded function fails."