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

T2851.hs:9:15:
    No instance for (Show (F a))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Show (F a))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Show (D a))