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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
135 B
Rust
Raw Normal View History

2020-07-02 05:32:12 +00:00
//@ run-rustfix
2018-09-19 23:23:21 +00:00
fn main() {
2018-11-27 09:56:36 +00:00
for i in in 1..2 { //~ ERROR expected iterable, found keyword `in`
2018-09-19 23:23:21 +00:00
println!("{}", i);
}
}