summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-10392-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-10392-2.stderr')
-rw-r--r--tests/ui/parser/issues/issue-10392-2.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-10392-2.stderr b/tests/ui/parser/issues/issue-10392-2.stderr
new file mode 100644
index 000000000..4154ecfeb
--- /dev/null
+++ b/tests/ui/parser/issues/issue-10392-2.stderr
@@ -0,0 +1,12 @@
+error: expected `}`, found `,`
+ --> $DIR/issue-10392-2.rs:8:15
+ |
+LL | let A { .., } = a();
+ | --^
+ | | |
+ | | expected `}`
+ | | help: remove this comma
+ | `..` must be at the end and cannot have a trailing comma
+
+error: aborting due to previous error
+