]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/mut_range_bound.stderr
Rollup merge of #102625 - Rageking8:fix-backtrace-small-typo, r=m-ou-se
[rust.git] / src / tools / clippy / tests / ui / mut_range_bound.stderr
1 error: attempt to mutate range bound within loop
2   --> $DIR/mut_range_bound.rs:8:9
3    |
4 LL |         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
10 error: attempt to mutate range bound within loop
11   --> $DIR/mut_range_bound.rs:15:9
12    |
13 LL |         m *= 2;
14    |         ^
15    |
16    = note: the range of the loop is unchanged
17
18 error: attempt to mutate range bound within loop
19   --> $DIR/mut_range_bound.rs:23:9
20    |
21 LL |         m = 5;
22    |         ^
23    |
24    = note: the range of the loop is unchanged
25
26 error: attempt to mutate range bound within loop
27   --> $DIR/mut_range_bound.rs:24:9
28    |
29 LL |         n = 7;
30    |         ^
31    |
32    = note: the range of the loop is unchanged
33
34 error: attempt to mutate range bound within loop
35   --> $DIR/mut_range_bound.rs:38:22
36    |
37 LL |         let n = &mut m; // warning
38    |                      ^
39    |
40    = note: the range of the loop is unchanged
41
42 error: attempt to mutate range bound within loop
43   --> $DIR/mut_range_bound.rs:70:9
44    |
45 LL |         m = 2; // warning because it is not immediately followed by break
46    |         ^
47    |
48    = note: the range of the loop is unchanged
49
50 error: attempt to mutate range bound within loop
51   --> $DIR/mut_range_bound.rs:79:13
52    |
53 LL |             n = 1; // FIXME: warning because is is not immediately followed by break
54    |             ^
55    |
56    = note: the range of the loop is unchanged
57
58 error: aborting due to 7 previous errors
59