summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authoruhbif19 <uhbif19@gmail.com>2022-05-15 11:53:27 +0300
committeruhbif19 <uhbif19@gmail.com>2022-06-09 20:22:47 +0300
commit7eab75bb2d176ea09de535be17130dc9dae42a02 (patch)
treec4b8276bc2ba19cfe783061f0fb8c92c637f591e /testsuite
parent8727be73296c16c11e01f42691ea27738436b28b (diff)
downloadhaskell-7eab75bb2d176ea09de535be17130dc9dae42a02.tar.gz
Remove TcRnUnknownMessage usage from GHC.Rename.Env #20115
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/rename/should_fail/T12686.stderr8
-rw-r--r--testsuite/tests/rename/should_fail/T3265.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail173.stderr2
3 files changed, 9 insertions, 5 deletions
diff --git a/testsuite/tests/rename/should_fail/T12686.stderr b/testsuite/tests/rename/should_fail/T12686.stderr
index 24acc9c8c1..682a3bd8f4 100644
--- a/testsuite/tests/rename/should_fail/T12686.stderr
+++ b/testsuite/tests/rename/should_fail/T12686.stderr
@@ -1,4 +1,8 @@
-T12686.hs:7:16: error: Illegal promoted term variable in a type: x
+T12686.hs:7:16:
+ Term variable ‘x’ cannot be used here
+ (term variables cannot be promoted)
-T12686.hs:12:19: error: Illegal promoted term variable in a type: a
+T12686.hs:12:19:
+ Term variable ‘a’ cannot be used here
+ (term variables cannot be promoted)
diff --git a/testsuite/tests/rename/should_fail/T3265.stderr b/testsuite/tests/rename/should_fail/T3265.stderr
index 42d89d0b4e..8ef1acdf39 100644
--- a/testsuite/tests/rename/should_fail/T3265.stderr
+++ b/testsuite/tests/rename/should_fail/T3265.stderr
@@ -1,8 +1,8 @@
T3265.hs:8:8: error:
Illegal declaration of a type or class operator ‘:+:’
- Use TypeOperators to declare operators in type and declarations
+ Suggested fix: Perhaps you intended to use TypeOperators
T3265.hs:10:9: error:
Illegal declaration of a type or class operator ‘:*:’
- Use TypeOperators to declare operators in type and declarations
+ Suggested fix: Perhaps you intended to use TypeOperators
diff --git a/testsuite/tests/typecheck/should_fail/tcfail173.stderr b/testsuite/tests/typecheck/should_fail/tcfail173.stderr
index a3da917f27..bd3a062062 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail173.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail173.stderr
@@ -1,4 +1,4 @@
tcfail173.hs:6:12: error:
Illegal declaration of a type or class operator ‘<.>’
- Use TypeOperators to declare operators in type and declarations
+ Suggested fix: Perhaps you intended to use TypeOperators