fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
537 B19 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:28
12   |
13LL |         MyStruct { .., Some(_) } => {},
14   |         --------           ^
15   |         |
16   |         while parsing the fields for this pattern
17
18error: aborting due to 2 previous errors
19