1 2 3 4 5 6 7 8 9 10 11
fn main() { let x = 1; { let mut x = true; { x = false; } } let x = x + 1; // { dg-warning "unused name" "" { target *-*-* } .-1 } }