summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-10392-2.stderr
blob: 4154ecfeb71c3b4463ac0f33a4f8f4d57a60d186 (plain)
1
2
3
4
5
6
7
8
9
10
11
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