Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
loops
/
issue-1962.fixed
blob: f0002be4bea0084a18efd18a6e5a65044763ecae [
file
] [
log
] [
blame
] [
edit
]
//@ compile-flags: -D while-true
//@ run-rustfix
fn main
()
{
let
mut i
=
0
;
'a: loop { //~ ERROR denote infinite loops with `loop
i += 1;
if i == 5 { break '
a
;
}
}
}