summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail
diff options
context:
space:
mode:
authorAndrei Borzenkov <andreyborzenkov2002@gmail.com>2023-01-23 19:43:29 +0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-28 02:59:18 -0500
commit50b1e2e8141fb1a3d1d3c1563935d08e90dca11a (patch)
tree99dda3c3e67265324312c8e8b2b4577b31b02809 /testsuite/tests/patsyn/should_fail
parent082b7d43ee4b8203dc9bca53e5e1f7a45c42eeb8 (diff)
downloadhaskell-50b1e2e8141fb1a3d1d3c1563935d08e90dca11a.tar.gz
Convert diagnostics in GHC.Rename.Bind to proper TcRnMessage (#20115)
I removed all occurrences of TcRnUnknownMessage in GHC.Rename.Bind module. Instead, these TcRnMessage messages were introduced: TcRnMultipleFixityDecls TcRnIllegalPatternSynonymDecl TcRnIllegalClassBiding TcRnOrphanCompletePragma TcRnEmptyCase TcRnNonStdGuards TcRnDuplicateSigDecl TcRnMisplacedSigDecl TcRnUnexpectedDefaultSig TcRnBindInBootFile TcRnDuplicateMinimalSig
Diffstat (limited to 'testsuite/tests/patsyn/should_fail')
-rw-r--r--testsuite/tests/patsyn/should_fail/T12165.stderr2
-rw-r--r--testsuite/tests/patsyn/should_fail/T13349.stderr2
-rw-r--r--testsuite/tests/patsyn/should_fail/T9705-1.stderr2
-rw-r--r--testsuite/tests/patsyn/should_fail/T9705-2.stderr2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T12165.stderr b/testsuite/tests/patsyn/should_fail/T12165.stderr
index 881e46905e..0787b79f1a 100644
--- a/testsuite/tests/patsyn/should_fail/T12165.stderr
+++ b/testsuite/tests/patsyn/should_fail/T12165.stderr
@@ -1,5 +1,5 @@
-T12165.hs:5:9: error:
+T12165.hs:5:9: error: [GHC-31744]
Duplicate pattern synonym signatures for ā€˜Pā€™
at T12165.hs:4:9
T12165.hs:5:9
diff --git a/testsuite/tests/patsyn/should_fail/T13349.stderr b/testsuite/tests/patsyn/should_fail/T13349.stderr
index 5bf91cbaa4..29b258870f 100644
--- a/testsuite/tests/patsyn/should_fail/T13349.stderr
+++ b/testsuite/tests/patsyn/should_fail/T13349.stderr
@@ -1,5 +1,5 @@
-T13349.hs:5:1: error:
+T13349.hs:5:1: error: [GHC-93961]
ā€¢ Orphan COMPLETE pragmas not supported
A COMPLETE pragma must mention at least one data constructor
or pattern synonym defined in the same module.
diff --git a/testsuite/tests/patsyn/should_fail/T9705-1.stderr b/testsuite/tests/patsyn/should_fail/T9705-1.stderr
index 595b70362b..bf89d60be5 100644
--- a/testsuite/tests/patsyn/should_fail/T9705-1.stderr
+++ b/testsuite/tests/patsyn/should_fail/T9705-1.stderr
@@ -1,4 +1,4 @@
-T9705-1.hs:3:5: error:
+T9705-1.hs:3:5: error: [GHC-69248]
Pattern synonyms not allowed in class declaration:
pattern P = ()
diff --git a/testsuite/tests/patsyn/should_fail/T9705-2.stderr b/testsuite/tests/patsyn/should_fail/T9705-2.stderr
index 520480b2f9..60c75a36bb 100644
--- a/testsuite/tests/patsyn/should_fail/T9705-2.stderr
+++ b/testsuite/tests/patsyn/should_fail/T9705-2.stderr
@@ -1,4 +1,4 @@
-T9705-2.hs:6:5: error:
+T9705-2.hs:6:5: error: [GHC-69248]
Pattern synonyms not allowed in instance declaration:
pattern P = ()