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

T11509_1.hs:53:1: error:
    • Can't make a derived instance of ‘SC (Serializable (MyList a))’:
        ‘Serializable’ is a type class, and can only have a derived instance
        if DeriveAnyClass is enabled
    • In the stand-alone deriving instance for
        ‘(Typeable a, SC (Serializable a)) => SC (Serializable (MyList a))’
    Suggested fix: Perhaps you intended to use DeriveAnyClass