1 2 3 4 5 6 7 8 9
fn main() { let x = Some("s".to_string()); match x { op_string @ Some(s) => {}, //~^ ERROR E0007 //~| ERROR E0303 None => {}, } }