diff options
author | Alfredo Di Napoli <alfredo@well-typed.com> | 2021-07-06 12:04:07 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-07-09 08:46:44 -0400 |
commit | f0a02dcc7517452246cd2f3f874b48d91bd68a68 (patch) | |
tree | d227cda8dec1c3cc625d7308300dd52a6a0e84f3 /testsuite | |
parent | 52353476eeac58870bb9053af58ca35b473141a7 (diff) | |
download | haskell-f0a02dcc7517452246cd2f3f874b48d91bd68a68.tar.gz |
Add TcRnIllegalFieldPunning to TcRnMessage
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr index f1101379ce..63cdbea4b4 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr @@ -1,15 +1,15 @@ RecordDotSyntaxFail12.hs:124:25: error: Illegal use of punning for field ‘quux’ - Use NamedFieldPuns to permit this + Suggested fix: Perhaps you intended to use NamedFieldPuns RecordDotSyntaxFail12.hs:124:46: error: Illegal use of punning for field ‘baz’ - Use NamedFieldPuns to permit this + Suggested fix: Perhaps you intended to use NamedFieldPuns RecordDotSyntaxFail12.hs:124:65: error: Illegal use of punning for field ‘bar’ - Use NamedFieldPuns to permit this + Suggested fix: Perhaps you intended to use NamedFieldPuns RecordDotSyntaxFail12.hs:125:11: error: For this to work enable NamedFieldPuns. |