summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T9600.stderr
blob: 5c03f2efc22ba15df91b5d0a028978798ddcdc5b (plain)
1
2
3
4
5
6

T9600.hs:3:39: error:
    Can't make a derived instance of ‘Applicative Foo’:
      ‘Applicative’ is not a stock derivable class (Eq, Show, etc.)
      Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
    In the newtype declaration for ‘Foo’