1 warning: running cargo clippy on a crate that also imports the clippy plugin
3 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
4 --> $DIR/mut_range_bound.rs:18:21
6 18 | for i in 0..m { m = 5; } // warning
9 = note: `-D mut-range-bound` implied by `-D warnings`
11 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
12 --> $DIR/mut_range_bound.rs:23:22
14 23 | for i in m..10 { m *= 2; } // warning
17 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
18 --> $DIR/mut_range_bound.rs:29:21
20 29 | for i in m..n { m = 5; n = 7; } // warning (1 for each mutated bound)
23 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
24 --> $DIR/mut_range_bound.rs:29:28
26 29 | for i in m..n { m = 5; n = 7; } // warning (1 for each mutated bound)
29 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
30 --> $DIR/mut_range_bound.rs:40:22
32 40 | let n = &mut m; // warning