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

8 lines
135 B
Rust

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