summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-10392.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-10392.stderr')
-rw-r--r--tests/ui/parser/issues/issue-10392.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-10392.stderr b/tests/ui/parser/issues/issue-10392.stderr
new file mode 100644
index 000000000..438ea67d3
--- /dev/null
+++ b/tests/ui/parser/issues/issue-10392.stderr
@@ -0,0 +1,10 @@
+error: expected identifier, found `,`
+ --> $DIR/issue-10392.rs:6:13
+ |
+LL | let A { , } = a();
+ | - ^ expected identifier
+ | |
+ | while parsing the fields for this pattern
+
+error: aborting due to previous error
+