diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr index 5bb9210a13..b95b4cea67 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr @@ -33,7 +33,8 @@ TcCoercibleFail.hs:16:8: TcCoercibleFail.hs:18:8: Could not coerce from ‘Int’ to ‘Down Int’ - because the constructor of ‘Down’ is not imported + because the data constructor ‘Data.Ord.Down’ + of newtype ‘Down’ is not in scope arising from a use of ‘coerce’ In the expression: coerce In the expression: coerce $ one :: Down Int |