summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile
diff options
context:
space:
mode:
authorHaskell-mouse <rinat.stryungis@serokell.io>2023-04-03 14:03:06 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-04-03 19:31:26 -0400
commit8b092910ac18a2b5dc97a29ced9fc469c663a03b (patch)
tree80c1d763922a2fbf9e343ac6cbc2cf6de35c5c0a /testsuite/tests/rename/should_compile
parenta8e36892689bd6b8fb472844f79aeeddeda92e0a (diff)
downloadhaskell-8b092910ac18a2b5dc97a29ced9fc469c663a03b.tar.gz
Convert diagnostics in GHC.Rename.HsType to proper TcRnMessage
I've turned all occurrences of TcRnUnknownMessage in GHC.Rename.HsType module into a proper TcRnMessage. Instead, these TcRnMessage messages were introduced: TcRnDataKindsError TcRnUnusedQuantifiedTypeVar TcRnIllegalKindSignature TcRnUnexpectedPatSigType TcRnSectionPrecedenceError TcRnPrecedenceParsingError TcRnIllegalKind TcRnNegativeNumTypeLiteral TcRnUnexpectedKindVar TcRnBindMultipleVariables TcRnBindVarAlreadyInScope
Diffstat (limited to 'testsuite/tests/rename/should_compile')
-rw-r--r--testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T5331.stderr6
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr b/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr
index d74f06b452..49a55fc84c 100644
--- a/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr
+++ b/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr
@@ -6,6 +6,6 @@ ExplicitForAllRules1.hs:45:31: warning: [GHC-64088] [-Wforall-identifier (in -Wd
Consider using another name, such as
‘forAll’, ‘for_all’, or ‘forall_’.
-ExplicitForAllRules1.hs:48:31: warning: [-Wunused-foralls (in -Wextra)]
+ExplicitForAllRules1.hs:48:31: warning: [GHC-54180] [-Wunused-foralls (in -Wextra)]
Unused quantified type variable ‘b’
In the rewrite rule "example7"
diff --git a/testsuite/tests/rename/should_compile/T5331.stderr b/testsuite/tests/rename/should_compile/T5331.stderr
index d57daceb0a..9ab7c83933 100644
--- a/testsuite/tests/rename/should_compile/T5331.stderr
+++ b/testsuite/tests/rename/should_compile/T5331.stderr
@@ -1,12 +1,12 @@
-T5331.hs:8:17: warning: [-Wunused-foralls (in -Wextra)]
+T5331.hs:8:17: warning: [GHC-54180] [-Wunused-foralls (in -Wextra)]
Unused quantified type variable ‘a’
In the definition of data constructor ‘S1’
-T5331.hs:11:16: warning: [-Wunused-foralls (in -Wextra)]
+T5331.hs:11:16: warning: [GHC-54180] [-Wunused-foralls (in -Wextra)]
Unused quantified type variable ‘a’
In the definition of data constructor ‘W1’
-T5331.hs:13:13: warning: [-Wunused-foralls (in -Wextra)]
+T5331.hs:13:13: warning: [GHC-54180] [-Wunused-foralls (in -Wextra)]
Unused quantified type variable ‘a’
In the type signature for ‘f’