summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/if-in-in.rs
blob: 6c0986fe1ba5f770193cdc0efbca5e4d0fc8f767 (plain)
1
2
3
4
5
6
7
// run-rustfix

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