Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
block-result
/
block-must-not-have-result-while.rs
blob: 418059bf280ea1ffd02f82100147b0e9870362ba [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
while
true
{
//~ WARN denote infinite loops with
true
//~ ERROR mismatched types
//~| expected `()`, found `bool`
}
}