blob: 108b9bc9e9b29c9adfddb81d48dd3e32051d1ab4 [file] [log] [blame]
fn main() {
while true { //~ WARN denote infinite loops with
true //~ ERROR mismatched types
//~| expected type `()`
//~| found type `bool`
//~| expected (), found bool
}
}