Print which warning-flag controls an emitted warning
[ghc.git] / testsuite / tests / warnings / should_compile / T11128b.stderr
1
2 T11128b.hs:40:5: warning: [-Wnoncanonical-monadfail-instances]
3     Noncanonical ‘fail’ definition detected
4     in the instance declaration for ‘Monad T1’.
5     Either remove definition for ‘fail’ or define as ‘fail = Control.Monad.Fail.fail’
6
7 T11128b.hs:43:5: warning: [-Wnoncanonical-monadfail-instances]
8     Noncanonical ‘fail = Control.Monad.fail’ definition detected
9     in the instance declaration for ‘MonadFail T1’.
10     Move definition from ‘Control.Monad.fail’ to ‘fail’