summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr')
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr8
1 files changed, 1 insertions, 7 deletions
diff --git a/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr b/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
index 7e75f5c8c7..87359fbb64 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
@@ -1,8 +1,2 @@
-DRFUnused.hs:10:16: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), -Werror=unused-top-binds]
- Defined but not used: ‘foo’
-
-DRFUnused.hs:18:5: warning: [-Wambiguous-fields (in -Wdefault)]
- The field ‘foo’ belonging to type U is ambiguous.
- This will not be supported by -XDuplicateRecordFields in future releases of GHC.
- You can use explicit case analysis to resolve the ambiguity.
+DRFUnused.hs:18:5: Ambiguous field selector occurence: foo