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

drvfail008.hs:11:43: error: [GHC-82023]
    • Can't make a derived instance of ‘Monad M’:
        ‘Monad’ is not a stock derivable class (Eq, Show, etc.)
    • In the newtype declaration for ‘M’
    Suggested fix:
      Perhaps you intended to use GeneralizedNewtypeDeriving
      for GHC's newtype-deriving extension