summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-116781.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/parser/issue-116781.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ui/parser/issue-116781.stderr b/tests/ui/parser/issue-116781.stderr
new file mode 100644
index 000000000..1a77b60a5
--- /dev/null
+++ b/tests/ui/parser/issue-116781.stderr
@@ -0,0 +1,16 @@
+error: expected pattern, found `$`
+ --> $DIR/issue-116781.rs:4:16
+ |
+LL | field: fn(($),),
+ | ^ expected pattern
+
+error: expected pattern, found `$`
+ --> $DIR/issue-116781.rs:4:16
+ |
+LL | field: fn(($),),
+ | ^ expected pattern
+ |
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
+
+error: aborting due to 2 previous errors
+