summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T1496.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T1496.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/T1496.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/tests/deriving/should_fail/T1496.stderr b/testsuite/tests/deriving/should_fail/T1496.stderr
index a18d3926e7..867d6c6842 100644
--- a/testsuite/tests/deriving/should_fail/T1496.stderr
+++ b/testsuite/tests/deriving/should_fail/T1496.stderr
@@ -1,10 +1,10 @@
T1496.hs:10:32:
- Could not coerce from ‛c Int’ to ‛c Moo’
- because ‛c Int’ and ‛c Moo’ are different types.
- arising from the coercion of the method ‛isInt’ from type
- ‛forall (c :: * -> *). c Int -> c Int’ to type
- ‛forall (c :: * -> *). c Int -> c Moo’
+ Could not coerce from ‘c Int’ to ‘c Moo’
+ because ‘c Int’ and ‘c Moo’ are different types.
+ arising from the coercion of the method ‘isInt’ from type
+ ‘forall (c :: * -> *). c Int -> c Int’ to type
+ ‘forall (c :: * -> *). c Int -> c Moo’
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself