summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail133.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail133.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail133.stderr7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail133.stderr b/testsuite/tests/typecheck/should_fail/tcfail133.stderr
index bba5889603..f61320f4c1 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail133.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail133.stderr
@@ -3,9 +3,10 @@ tcfail133.hs:2:61: warning:
-XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
tcfail133.hs:68:7: error:
- No instance for (Show r0) arising from a use of ‘show’
- The type variable ‘r0’ is ambiguous
- Potential instances:
+ Ambiguous type variable ‘r0’ arising from a use of ‘show’
+ prevents the constraint ‘(Show r0)’ from being solved.
+ Probable fix: use a type annotation to specify what ‘r0’ should be.
+ These potential instances exist:
instance Show Ordering -- Defined in ‘GHC.Show’
instance Show Integer -- Defined in ‘GHC.Show’
instance (Show a, Show b, Number a, Digit b) => Show (a :@ b)