fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
466 B17 linesraw
1error: expected `}`, found `,`
2  --> $DIR/issue-54379.rs:9:22
3   |
4LL |         MyStruct { .., Some(_) } => {},
5   |                    --^
6   |                    | |
7   |                    | expected `}`
8   |                    `..` must be at the end and cannot have a trailing comma
9
10error: expected `,`
11  --> $DIR/issue-54379.rs:9:24
12   |
13LL |         MyStruct { .., Some(_) } => {},
14   |                        ^^^^
15
16error: aborting due to 2 previous errors
17