diff options
Diffstat (limited to 'testsuite/tests/module/mod41.stderr')
-rw-r--r-- | testsuite/tests/module/mod41.stderr | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/module/mod41.stderr b/testsuite/tests/module/mod41.stderr index 9962da3716..d1253821cd 100644 --- a/testsuite/tests/module/mod41.stderr +++ b/testsuite/tests/module/mod41.stderr @@ -1,8 +1,8 @@ -mod41.hs:3:18: - Illegal instance declaration for ‘Eq (Either a 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 (Either a a)’ +mod41.hs:4:18: error: + • Illegal instance declaration for ‘Eq (Either a 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 (Either a a)’ |