1 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
2 --> $DIR/mut_range_bound.rs:28:21
4 28 | 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:33:22
12 33 | 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:39:21
18 39 | 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:39:28
24 39 | 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:50:22
30 50 | let n = &mut m; // warning
33 error: aborting due to 5 previous errors