1 2 3 4 5 6 7 8 9
#![feature(if_let_guard)] fn main() { match Some(None) { Some(x) if let Some(y) = x => (x, y), _ => y, //~ ERROR cannot find value `y` } y //~ ERROR cannot find value `y` }