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

drvfail015.hs:10:19:
    Illegal instance declaration for `Eq T'
      (All instance types must be of the form (T t1 ... tn)
       where T is not a synonym.
       Use -XTypeSynonymInstances if you want to disable this.)
    In the stand-alone deriving instance for `Eq T'

drvfail015.hs:13:1:
    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'