blob: c0b96f9729456c6ae8564699370e1f52370cef40 [file] [log] [blame]
fn main() {
let _ = for _ in 0..1 {
//~^ NOTE `else` is attached to this loop
} else {
//~^ ERROR `for...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
};
}