rust/tests/ui/parser/if-in-in.fixed

8 lines
132 B
Rust

//@ run-rustfix
fn main() {
for i in 1..2 { //~ ERROR expected iterable, found keyword `in`
println!("{}", i);
}
}