1 #![allow(unused_variables)] 2 3 #![deny(unreachable_code)] 4 main()5 fn main() { 6 let x = loop { 7 continue; 8 println!("hi"); 9 //~^ ERROR unreachable statement 10 }; 11 } 12