blob: 807c54393f29b55f99a7f6ab1ad141be834bcd66 [file] [log] [blame]
struct MyStruct {
pub s1: Option<String>,
}
fn main() {
let thing = MyStruct { s1: None };
match thing {
MyStruct { .., Some(_) } => {},
//~^ ERROR expected `,`
//~| ERROR expected `}`, found `,`
_ => {}
}
}