1 2 3 4 5 6 7 8 9 10
// compile-flags: -D while-true // run-rustfix fn main() { let mut i = 0; 'a: loop { //~ ERROR denote infinite loops with `loop i += 1; if i == 5 { break 'a; } } }