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

drvfail001.hs:16:33:
    No instance for (Show (f (f a)))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Show (SM f a))