rust/tests/ui/parser/if-in-in.fixed
2023-01-11 09:32:08 +00:00

8 lines
131 B
Rust

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