blob: 202a09c255c2e901b40c9ea58c49c3dd83fe7404 [file] [log] [blame]
fn main() {
loop {
//~^ NOTE `else` is attached to this loop
} else {
//~^ ERROR `loop...else` loops are not supported
//~| NOTE consider moving this `else` clause to a separate `if` statement and use a `bool` variable to control if it should run
}
}