1 2 3 4 5 6 7 8
#![deny(unreachable_code)] #![allow(unused_variables)] fn main() { loop{} let a = 3; //~ ERROR: unreachable statement }