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

drvfail008.hs:10:43: error:
    • Can't make a derived instance of ‘Monad M’:
        ‘Monad’ is not a stock derivable class (Eq, Show, etc.)
        Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
    • In the newtype declaration for ‘M’