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

T3834.hs:9:1: error: [GHC-82023]
    • 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