summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod42.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod42.stderr')
-rw-r--r--testsuite/tests/module/mod42.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/module/mod42.stderr b/testsuite/tests/module/mod42.stderr
index 03e7f8cdce..45d649177a 100644
--- a/testsuite/tests/module/mod42.stderr
+++ b/testsuite/tests/module/mod42.stderr
@@ -1,8 +1,8 @@
-mod42.hs:3:10:
- Illegal instance declaration for ‘Eq a’
- (All instance types must be of the form (T a1 ... an)
- where a1 ... an are *distinct type variables*,
- and each type variable appears at most once in the instance head.
- Use FlexibleInstances if you want to disable this.)
- In the instance declaration for ‘Eq a’
+mod42.hs:4:10: error:
+ • Illegal instance declaration for ‘Eq a’
+ (All instance types must be of the form (T a1 ... an)
+ where a1 ... an are *distinct type variables*,
+ and each type variable appears at most once in the instance head.
+ Use FlexibleInstances if you want to disable this.)
+ • In the instance declaration for ‘Eq a’