summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/warnings')
-rw-r--r--testsuite/tests/warnings/should_compile/PluralS.stderr2
-rw-r--r--testsuite/tests/warnings/should_compile/T11077.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/warnings/should_compile/PluralS.stderr b/testsuite/tests/warnings/should_compile/PluralS.stderr
index c013e7b73d..1c975abdb2 100644
--- a/testsuite/tests/warnings/should_compile/PluralS.stderr
+++ b/testsuite/tests/warnings/should_compile/PluralS.stderr
@@ -9,7 +9,7 @@ PluralS.hs:15:17: warning:
PluralS.hs:17:29: warning:
• Defaulting the following constraints to type ‘Integer’
(Num a0) arising from the literal ‘123’ at PluralS.hs:17:29-31
- (Show a0) arising from a use of ‘show’ at PluralS.hs:17:24-27
+ (Show a0) arising from a use of ‘show’ at PluralS.hs:17:24-31
• In the first argument of ‘show’, namely ‘123’
In the expression: show 123
In an equation for ‘defaultingNumAndShow’:
diff --git a/testsuite/tests/warnings/should_compile/T11077.stderr b/testsuite/tests/warnings/should_compile/T11077.stderr
index b2cfa61546..84034f8c65 100644
--- a/testsuite/tests/warnings/should_compile/T11077.stderr
+++ b/testsuite/tests/warnings/should_compile/T11077.stderr
@@ -1,3 +1,3 @@
T11077.hs:3:1: warning:
- Top-level binding with no type signature: foo :: forall r. r
+ Top-level binding with no type signature: foo :: forall a. a