rust/src/test/ui/parser/if-in-in.rs

6 lines
118 B
Rust

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