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

T10598_fail2.hs:5: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:6: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’