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

T12512.hs:10:1: error: [GHC-00158]
    • Can't make a derived instance of ‘Wat1 (# a, b #)’:
        ‘Wat1’ is not a stock derivable class (Eq, Show, etc.)
    • In the stand-alone deriving instance for ‘Wat1 (# a, b #)’
    Suggested fix: Perhaps you intended to use DeriveAnyClass

T12512.hs:13:1: error: [GHC-00158]
    • Can't make a derived instance of ‘Wat2 (# a | b #)’:
        ‘Wat2’ is not a stock derivable class (Eq, Show, etc.)
    • In the stand-alone deriving instance for ‘Wat2 (# a | b #)’
    Suggested fix: Perhaps you intended to use DeriveAnyClass