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

T9600.hs:4:39: error:
    • Can't make a derived instance of ‘Applicative Foo’:
        ‘Applicative’ is not a stock derivable class (Eq, Show, etc.)
    • In the newtype declaration for ‘Foo’
    Suggested fix:
      Perhaps you intended to use GeneralizedNewtypeDeriving
      for GHC's newtype-deriving extension