Debian Codegraph @

gcc/testsuite/rust/compile/torture/scoping1.rs

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