summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deriving/should_fail/drvfail004.stderr
blob: d08f315cb705010dd160ee9e66d40d28b4499d24 (plain)
1
2
3
4
5
6
7
8
9

drvfail004.hs:8:12:
    No instance for (Eq (Foo a b))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Eq (Foo a b))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Ord (Foo a b))