summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T23301.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T23301.stderr')
-rw-r--r--testsuite/tests/rename/should_fail/T23301.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T23301.stderr b/testsuite/tests/rename/should_fail/T23301.stderr
new file mode 100644
index 0000000000..ac6f2479d9
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T23301.stderr
@@ -0,0 +1,10 @@
+
+T23301.hs:9:7: [GHC-87543]
+ Ambiguous occurrence ‘fld’.
+ It could refer to
+ either the field ‘fld’ belonging to data constructor ‘MkD1’ (among others)
+ in a data family instance of ‘D’,
+ defined at T23301.hs:6:31,
+ or the field ‘fld’ belonging to data constructor ‘MkD2’
+ in a data family instance of ‘D’,
+ defined at T23301.hs:7:31.