fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: attempt to mutate range bound within loop 2 --> $DIR/mut_range_bound.rs:8:9 3 | 4LL | m = 5; 5 | ^ 6 | 7 = note: the range of the loop is unchanged 8 = note: `-D clippy::mut-range-bound` implied by `-D warnings` 9 = help: to override `-D warnings` add `#[allow(clippy::mut_range_bound)]` 10 11error: attempt to mutate range bound within loop 12 --> $DIR/mut_range_bound.rs:17:9 13 | 14LL | m *= 2; 15 | ^ 16 | 17 = note: the range of the loop is unchanged 18 19error: attempt to mutate range bound within loop 20 --> $DIR/mut_range_bound.rs:27:9 21 | 22LL | m = 5; 23 | ^ 24 | 25 = note: the range of the loop is unchanged 26 27error: attempt to mutate range bound within loop 28 --> $DIR/mut_range_bound.rs:30:9 29 | 30LL | n = 7; 31 | ^ 32 | 33 = note: the range of the loop is unchanged 34 35error: attempt to mutate range bound within loop 36 --> $DIR/mut_range_bound.rs:46:22 37 | 38LL | let n = &mut m; 39 | ^ 40 | 41 = note: the range of the loop is unchanged 42 43error: attempt to mutate range bound within loop 44 --> $DIR/mut_range_bound.rs:81:9 45 | 46LL | m = 2; 47 | ^ 48 | 49 = note: the range of the loop is unchanged 50 51error: attempt to mutate range bound within loop 52 --> $DIR/mut_range_bound.rs:93:13 53 | 54LL | n = 1; 55 | ^ 56 | 57 = note: the range of the loop is unchanged 58 59error: aborting due to 7 previous errors 60