1 2 3 4 5 6
fn main() { while true { //~ WARN denote infinite loops with true //~ ERROR mismatched types //~| expected `()`, found `bool` } }