rust/tests/ui/parser/if-in-in.fixed
2024-02-16 20:02:50 +00:00

8 lines
132 B
Rust

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