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/typecheck/should_fail | |
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/typecheck/should_fail')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail021.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail021.stderr b/testsuite/tests/typecheck/should_fail/tcfail021.stderr index 03a1efc328..59f91cff67 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail021.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail021.stderr @@ -1,4 +1,4 @@ -tcfail021.hs:8:5: error: +tcfail021.hs:8:5: error: [GHC-69248] Pattern bindings (except simple variables) not allowed in instance declaration: ((==), (/=)) = (\ x -> \ y -> True, \ x -> \ y -> False) |