1 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
2 --> $DIR/mut_range_bound.rs:18:21
4 18 | for i in 0..m { m = 5; } // warning
7 = note: `-D clippy::mut-range-bound` implied by `-D warnings`
9 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
10 --> $DIR/mut_range_bound.rs:23:22
12 23 | for i in m..10 { m *= 2; } // warning
15 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
16 --> $DIR/mut_range_bound.rs:29:21
18 29 | for i in m..n { m = 5; n = 7; } // warning (1 for each mutated bound)
21 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
22 --> $DIR/mut_range_bound.rs:29:28
24 29 | for i in m..n { m = 5; n = 7; } // warning (1 for each mutated bound)
27 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
28 --> $DIR/mut_range_bound.rs:40:22
30 40 | let n = &mut m; // warning
33 error: aborting due to 5 previous errors