summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T2851.stderr
blob: 780e16cbb745e21687c4731f7988a8ac4837b003 (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))