summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/mc14.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/mc14.stderr')
-rw-r--r--testsuite/tests/rename/should_fail/mc14.stderr8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuite/tests/rename/should_fail/mc14.stderr b/testsuite/tests/rename/should_fail/mc14.stderr
index bb02f9bafb..bc7b7df291 100644
--- a/testsuite/tests/rename/should_fail/mc14.stderr
+++ b/testsuite/tests/rename/should_fail/mc14.stderr
@@ -1,7 +1,9 @@
+
mc14.hs:14:16: error:
- No instance for (Functor t0) arising from a use of ‘fmap’
- The type variable ‘t0’ is ambiguous
- Potential instances:
+ Ambiguous type variable ‘t0’ arising from a use of ‘fmap’
+ prevents the constraint ‘(Functor t0)’ from being solved.
+ Probable fix: use a type annotation to specify what ‘t0’ should be.
+ These potential instances exist:
instance Functor IO -- Defined in ‘GHC.Base’
instance Functor Maybe -- Defined in ‘GHC.Base’
instance Functor ((->) r) -- Defined in ‘GHC.Base’