]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/mut_range_bound.stderr
Rollup merge of #78216 - workingjubilee:duration-zero, r=m-ou-se
[rust.git] / src / tools / clippy / tests / ui / mut_range_bound.stderr
1 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
2   --> $DIR/mut_range_bound.rs:16:9
3    |
4 LL |         m = 5;
5    |         ^
6    |
7    = note: `-D clippy::mut-range-bound` implied by `-D warnings`
8
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:9
11    |
12 LL |         m *= 2;
13    |         ^
14
15 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
16   --> $DIR/mut_range_bound.rs:31:9
17    |
18 LL |         m = 5;
19    |         ^
20
21 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
22   --> $DIR/mut_range_bound.rs:32:9
23    |
24 LL |         n = 7;
25    |         ^
26
27 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
28   --> $DIR/mut_range_bound.rs:46:22
29    |
30 LL |         let n = &mut m; // warning
31    |                      ^
32
33 error: aborting due to 5 previous errors
34