2011-11-07 12:19:50 -08:00
|
|
|
fn main() {
|
2019-06-22 01:30:24 +02:00
|
|
|
while true { //~ WARN denote infinite loops with
|
2015-01-12 01:01:44 -05:00
|
|
|
true //~ ERROR mismatched types
|
2019-11-15 09:37:01 -08:00
|
|
|
//~| expected `()`, found `bool`
|
2011-11-07 12:19:50 -08:00
|
|
|
}
|
2013-02-14 11:47:00 -08:00
|
|
|
}
|