fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
330 B12 linesraw
1error: expected `}`, found `,`
2  --> $DIR/issue-10392-2.rs:6:15
3   |
4LL |     let A { .., } = a();
5   |             --^
6   |             | |
7   |             | expected `}`
8   |             | help: remove this comma
9   |             `..` must be at the end and cannot have a trailing comma
10
11error: aborting due to previous error
12