summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T7959.stderr
blob: 0ba77ffb8b67866a49f386806535d99c003c9744 (plain)
1
2
3
4
5
6
7
8

T7959.hs:5:1: error:
    • Can't make a derived instance of ‘A’: Try enabling DeriveAnyClass
    • In the stand-alone deriving instance for ‘A’

T7959.hs:6:17: error:
    • ‘A’ is not a unary constraint, as expected by a deriving clause
    • In the data declaration for ‘B’