Print which warning-flag controls an emitted warning
[ghc.git] / testsuite / tests / monadfail / MonadFailWarnings.stderr
index af2606a..544f14a 100644 (file)
@@ -1,5 +1,5 @@
 
-MonadFailWarnings.hs:19:5: warning:
+MonadFailWarnings.hs:19:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)]
     • Could not deduce (MonadFail m)
         arising from the failable pattern ‘Just x’
         (this will become an error in a future GHC release)
@@ -20,7 +20,7 @@ MonadFailWarnings.hs:19:5: warning:
             = do { Just x <- undefined;
                    undefined }
 
-MonadFailWarnings.hs:35:5: warning:
+MonadFailWarnings.hs:35:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)]
     • No instance for (MonadFail Identity)
         arising from the failable pattern ‘Just x’
         (this will become an error in a future GHC release)
@@ -33,7 +33,7 @@ MonadFailWarnings.hs:35:5: warning:
             = do { Just x <- undefined;
                    undefined }
 
-MonadFailWarnings.hs:51:5: warning:
+MonadFailWarnings.hs:51:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)]
     • No instance for (MonadFail (ST s))
         arising from the failable pattern ‘Just x’
         (this will become an error in a future GHC release)
@@ -46,7 +46,7 @@ MonadFailWarnings.hs:51:5: warning:
             = do { Just x <- undefined;
                    undefined }
 
-MonadFailWarnings.hs:59:5: warning:
+MonadFailWarnings.hs:59:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)]
     • No instance for (MonadFail ((->) r))
         arising from the failable pattern ‘Just x’
         (this will become an error in a future GHC release)