summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod41.stderr
blob: 921fc959425f4018e610192a230380c91aa32ee1 (plain)
1
2
3
4
5
6
7
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 -XFlexibleInstances if you want to disable this.)
    In the instance declaration for ‛Eq (Either a a)’