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

drvfail007.hs:4:38:
    No instance for (Eq (Int -> Int))
      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 (Eq Foo)