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

T2851.hs:9:15:
    No instance for (Show (F a))
      arising from the first field of ā€›Dā€™ (type ā€›F aā€™)
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Show (D a))