summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T11128b.stderr
blob: e3fd3e83dce82999013ef2adfc33e7086ffa1d63 (plain)
1
2
3
4
5
6
7
8
9
10

T11128b.hs:40:5: warning: [-Wnoncanonical-monadfail-instances]
    Noncanonical ‘fail’ definition detected
    in the instance declaration for ‘Monad T1’.
    Either remove definition for ‘fail’ or define as ‘fail = Control.Monad.Fail.fail’

T11128b.hs:43:5: warning: [-Wnoncanonical-monadfail-instances]
    Noncanonical ‘fail = Control.Monad.fail’ definition detected
    in the instance declaration for ‘MonadFail T1’.
    Move definition from ‘Control.Monad.fail’ to ‘fail’