#![allow(unused_variables)] #![deny(unreachable_code)] fn main() { let x = loop { continue; println!("hi"); //~^ ERROR unreachable statement }; }