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

T12512.hs:10:1: error:
    • 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:
    • 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