summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail015.stderr
blob: b731032fc39f312d22780db0739572ebd0bf6996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

drvfail015.hs:11:19: error:
    • Illegal instance declaration for ‘Eq T’
        (All instance types must be of the form (T t1 ... tn)
         where T is not a synonym.
         Use TypeSynonymInstances if you want to disable this.)
    • In the stand-alone deriving instance for ‘Eq T’

drvfail015.hs:14:1: error:
    • Can't make a derived instance of ‘Eq Handle’:
        The data constructors of ‘Handle’ are not all in scope
          so you cannot derive an instance for it
    • In the stand-alone deriving instance for ‘Eq Handle’