summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-01-17 10:45:35 +0100
committersheaf <sam.derbyshire@gmail.com>2022-01-17 14:52:50 +0000
commitf161e890dfd41fd9735f4e259fffe2ce6d00ec1a (patch)
treee6c54b25f3cbb87458dea92c04e23993997e3746 /testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr
parenta13aff98cfccddee285b6550dd08c6ec1a3c4e17 (diff)
downloadhaskell-f161e890dfd41fd9735f4e259fffe2ce6d00ec1a.tar.gz
Use diagnostic infrastructure in GHC.Tc.Errors
Diffstat (limited to 'testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr')
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr b/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr
index 51415300e0..204aee2b2b 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr
@@ -1,6 +1,7 @@
NFSSuppressed.hs:9:5: error:
- • Variable not in scope: foo
- • Perhaps you meant data constructor ‘Foo’ (line 7)
- NB: ‘foo’ is a field selector belonging to the type ‘Foo’
- that has been suppressed by NoFieldSelectors
+ Variable not in scope: foo
+ Suggested fixes:
+ • Perhaps use data constructor ‘Foo’ (line 7)
+ • Notice that ‘foo’ is a field selector belonging to the type ‘Foo’
+ that has been suppressed by NoFieldSelectors.