1 #![feature(if_let_guard)]
4 let a = Some("...".to_owned());
6 Some(_) if { drop(a); false } => None,
7 x => x, //~ ERROR use of moved value: `a`
10 let a = Some("...".to_owned());
12 Some(_) if let Some(()) = { drop(a); None } => None,
13 x => x, //~ ERROR use of moved value: `a`