blob: 5718e0efd18265408b8dcb20e379ce8775af6b64 [file] [log] [blame]
// run-pass
#![allow(dead_code)]
#![allow(unused_assignments)]
#![allow(unknown_lints)]
// pretty-expanded FIXME #23616
#![allow(dead_assignment)]
#![allow(unused_variables)]
fn f() {
let x = 10; let mut y = 11;
if true { match x { _ => { y = x; } } } else { }
}
pub fn main() {
let x = 10;
let mut y = 11;
if true { while false { y = x; } } else { }
}