summaryrefslogtreecommitdiff
path: root/testsuite/tests/monadfail/MonadFailWarnings.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/monadfail/MonadFailWarnings.stderr')
-rw-r--r--testsuite/tests/monadfail/MonadFailWarnings.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/monadfail/MonadFailWarnings.stderr b/testsuite/tests/monadfail/MonadFailWarnings.stderr
index ac16d6cd9e..7471bd9373 100644
--- a/testsuite/tests/monadfail/MonadFailWarnings.stderr
+++ b/testsuite/tests/monadfail/MonadFailWarnings.stderr
@@ -5,12 +5,12 @@ MonadFailWarnings.hs:19:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)
(this will become an error in a future GHC release)
from the context: Monad m
bound by the type signature for:
- general :: Monad m => m a
+ general :: forall (m :: * -> *) a. Monad m => m a
at MonadFailWarnings.hs:17:1-25
Possible fix:
add (MonadFail m) to the context of
the type signature for:
- general :: Monad m => m a
+ general :: forall (m :: * -> *) a. Monad m => m a
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
do Just x <- undefined