fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
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