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

drvfail007.hs:4:38:
    No instance for (Eq (Int -> Int))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Eq (Int -> Int))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Eq Foo)