summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail013.stderr
blob: 94927cd790a6ce323141f54a97def116ed4f2f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

drvfail013.hs:4:70:
    No instance for (Eq (m (Maybe a)))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Eq (m (Maybe a)))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Eq (MaybeT m a))

drvfail013.hs:6:70:
    No instance for (Eq (m (Maybe a)))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Eq (m (Maybe a)))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Eq (MaybeT' m a))