1 error: the loop variable `i` is only used to index `ns`.
2 --> $DIR/needless_range_loop.rs:8:5
5 9 | | println!("{}", ns[i]);
9 = note: `-D needless-range-loop` implied by `-D warnings`
10 help: consider using an iterator
12 8 | for <item> in ns.iter().take(10).skip(3) {