blob: d1d693a3817b90a398278da1e16812feaaadcc76 [file] [log] [blame]
error: expected `}`, found `,`
--> $DIR/issue-54379.rs:18:22
|
LL | MyStruct { .., Some(_) } => {},
| --^
| | |
| | expected `}`
| `..` must be at the end and cannot have a trailing comma
error: expected `,`
--> $DIR/issue-54379.rs:18:24
|
LL | MyStruct { .., Some(_) } => {},
| ^^^^
error[E0027]: pattern does not mention field `s1`
--> $DIR/issue-54379.rs:18:9
|
LL | MyStruct { .., Some(_) } => {},
| ^^^^^^^^^^^^^^^^^^^^^^^^ missing field `s1`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0027`.