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

T3834.hs:9:1: error:
    • Can't make a derived instance of ‘C T’:
        ‘C’ is not a stock derivable class (Eq, Show, etc.)
    • In the stand-alone deriving instance for ‘C T’
    Suggested fix:
      Perhaps you intended to use GeneralizedNewtypeDeriving
      for GHC's newtype-deriving extension