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

drvfail001.hs:16:33:
    No instance for (Show (f (f a)))
      arising from the first field of ‘ZeroS’ (type ‘f (f a)’)
    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))