1 error: expected `}`, found `,`
2 --> $DIR/issue-54379.rs:9:22
4 LL | MyStruct { .., Some(_) } => {}, //~ ERROR pattern does not mention field `s1`
8 | `..` must be at the end and cannot have a trailing comma
11 --> $DIR/issue-54379.rs:9:24
13 LL | MyStruct { .., Some(_) } => {}, //~ ERROR pattern does not mention field `s1`
16 error[E0027]: pattern does not mention field `s1`
17 --> $DIR/issue-54379.rs:9:9
19 LL | MyStruct { .., Some(_) } => {}, //~ ERROR pattern does not mention field `s1`
20 | ^^^^^^^^^^^^^^^^^^^^^^^^ missing field `s1`
22 error: aborting due to 3 previous errors
24 For more information about this error, try `rustc --explain E0027`.