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

T7959.hs:5:1: error:
    • Can't make a derived instance of ‘A’:
    • In the stand-alone deriving instance for ‘A’
    Suggested fix: Perhaps you intended to use DeriveAnyClass

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