1 2 3 4 5 6 7
fn main() { match Some(()) { None => { }, option if option.take().is_none() => {}, //~ ERROR E0301 Some(_) => { } //~^ ERROR E0596 } }