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

8 lines
135 B
Rust

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