1 error: the variable `_index` is used as a loop counter. Consider using `for (_index, item) in &vec.enumerate()` or similar iterators
2 --> $DIR/explicit_counter_loop.rs:15:15
7 = note: `-D clippy::explicit-counter-loop` implied by `-D warnings`
9 error: the variable `_index` is used as a loop counter. Consider using `for (_index, item) in &vec.enumerate()` or similar iterators
10 --> $DIR/explicit_counter_loop.rs:21:15
15 error: the variable `count` is used as a loop counter. Consider using `for (count, item) in text.chars().enumerate()` or similar iterators
16 --> $DIR/explicit_counter_loop.rs:60:19
18 LL | for ch in text.chars() {
21 error: the variable `count` is used as a loop counter. Consider using `for (count, item) in text.chars().enumerate()` or similar iterators
22 --> $DIR/explicit_counter_loop.rs:71:19
24 LL | for ch in text.chars() {
27 error: aborting due to 4 previous errors