Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
block-result
/
block-must-not-have-result-while.rs
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
}
}