summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/T5462No1.stderr
blob: 91e078b33e7163f13a693bf1c086ba9ffc485eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[1 of 2] Compiling GFunctor        (.hs -> .o)
[2 of 2] Compiling T5462No1        (.hs -> .o)

T5462No1.hs:24:42: error:
    Can't make a derived instance of ‘GFunctor F’:
      ‘GFunctor’ is not a stock derivable class (Eq, Show, etc.)
      Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
    In the newtype declaration for ‘F’

T5462No1.hs:26:23: error:
    Can't make a derived instance of ‘C1 G’:
      ‘C1’ is not a stock derivable class (Eq, Show, etc.)
      Try enabling DeriveAnyClass
    In the data declaration for ‘G’

T5462No1.hs:27:23: error:
    Can't make a derived instance of ‘C2 H’:
      ‘C2’ is not a stock derivable class (Eq, Show, etc.)
      Try enabling DeriveAnyClass
    In the data declaration for ‘H’