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

T10598_fail2.hs:4:37: error:
    • Can't make a derived instance of
        ‘Eq A’ with the anyclass strategy:
        Try enabling DeriveAnyClass
    • In the data declaration for ‘A’

T10598_fail2.hs:5:37: error:
    • Can't make a derived instance of
        ‘Eq B’ with the newtype strategy:
        Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
    • In the newtype declaration for ‘B’