diff options
author | Andrei Borzenkov <andreyborzenkov2002@gmail.com> | 2023-01-23 19:43:29 +0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-28 02:59:18 -0500 |
commit | 50b1e2e8141fb1a3d1d3c1563935d08e90dca11a (patch) | |
tree | 99dda3c3e67265324312c8e8b2b4577b31b02809 /testsuite/tests/module | |
parent | 082b7d43ee4b8203dc9bca53e5e1f7a45c42eeb8 (diff) | |
download | haskell-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/module')
-rw-r--r-- | testsuite/tests/module/mod48.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/module/mod68.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/module/mod48.stderr b/testsuite/tests/module/mod48.stderr index d2e2652403..96e8f7cf62 100644 --- a/testsuite/tests/module/mod48.stderr +++ b/testsuite/tests/module/mod48.stderr @@ -1,4 +1,4 @@ -mod48.hs:5:3: error: +mod48.hs:5:3: error: [GHC-69248] Pattern bindings (except simple variables) not allowed in class declaration: (x, y) = error "foo" diff --git a/testsuite/tests/module/mod68.stderr b/testsuite/tests/module/mod68.stderr index 754124f15c..4d40083a44 100644 --- a/testsuite/tests/module/mod68.stderr +++ b/testsuite/tests/module/mod68.stderr @@ -1,5 +1,5 @@ -mod68.hs:4:1: +mod68.hs:4:1: error: [GHC-31744] Duplicate type signatures for âfâ at mod68.hs:3:1 mod68.hs:4:1 |