summary refs log tree commit diff
path: root/src/test/ui/parser/issue-10392-2.stderr
blob: 41548ed4a2f8745c1262aa722222aafb5bef6eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: expected `}`, found `,`
  --> $DIR/issue-10392-2.rs:18:15
   |
LL |     let A { .., } = a(); //~ ERROR: expected `}`
   |             --^
   |             | |
   |             | expected `}`
   |             | help: remove this comma
   |             `..` must be at the end and cannot have a trailing comma

error: aborting due to previous error