summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T5287.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T5287.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/T5287.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T5287.stderr b/testsuite/tests/deriving/should_fail/T5287.stderr
index 93ea7d6cb7..e95212f67e 100644
--- a/testsuite/tests/deriving/should_fail/T5287.stderr
+++ b/testsuite/tests/deriving/should_fail/T5287.stderr
@@ -2,6 +2,8 @@
T5287.hs:6:29:
No instance for (A e oops)
arising from the 'deriving' clause of a data type declaration
+ The type variable `oops' is ambiguous
+ Possible fix: add a type signature that fixes these type variable(s)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself