1 #![allow(unused_variables)]
2 #![allow(unused_assignments)]
4 #![deny(unreachable_code)]
7 // Here the tail expression is considered unreachable:
10 22 //~ ERROR unreachable
15 // Here the `x` assignment is considered unreachable, not the block:
22 // Here the `println!` is unreachable:
26 //~^ ERROR unreachable statement