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

drvfail001.hs:16:33: error:
    • 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))