summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/T5462No1.stderr
blob: 53d1ffa6dfc91fcbbbf72174e59d61f0c84891fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[1 of 2] Compiling GFunctor         ( GFunctor\GFunctor.hs, out_T5462No1\GFunctor.o )
[2 of 2] Compiling T5462No1         ( T5462No1.hs, out_T5462No1\T5462No1.o )

T5462No1.hs:25:42: error: [GHC-82023]
    • Can't make a derived instance of ‘GFunctor F’:
        ‘GFunctor’ is not a stock derivable class (Eq, Show, etc.)
    • In the newtype declaration for ‘F’
    Suggested fix:
      Perhaps you intended to use GeneralizedNewtypeDeriving
      for GHC's newtype-deriving extension

T5462No1.hs:27:23: error: [GHC-00158]
    • Can't make a derived instance of ‘C1 G’:
        ‘C1’ is not a stock derivable class (Eq, Show, etc.)
    • In the data declaration for ‘G’
    Suggested fix: Perhaps you intended to use DeriveAnyClass

T5462No1.hs:28:23: error: [GHC-00158]
    • Can't make a derived instance of ‘C2 H’:
        ‘C2’ is not a stock derivable class (Eq, Show, etc.)
    • In the data declaration for ‘H’
    Suggested fix: Perhaps you intended to use DeriveAnyClass