1 2 3 4 5 6 7 8 9
// Checks that lint attributes work on non-item AST nodes fn main() { #[deny(unreachable_code)] loop { break; "unreachable"; //~ ERROR unreachable statement } }