]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mut_range_bound.stderr
iterate List by value
[rust.git] / tests / ui / mut_range_bound.stderr
index 50e94efde5327af395d9c69843bda498827b7bf2..0eeb76e0ec5fd713656843aa48b6000fdd98803f 100644 (file)
@@ -2,7 +2,7 @@ error: attempt to mutate range bound within loop; note that the range of the loo
   --> $DIR/mut_range_bound.rs:16:9
    |
 LL |         m = 5;
-   |         ^^^^^
+   |         ^
    |
    = note: `-D clippy::mut-range-bound` implied by `-D warnings`
 
@@ -10,19 +10,19 @@ error: attempt to mutate range bound within loop; note that the range of the loo
   --> $DIR/mut_range_bound.rs:23:9
    |
 LL |         m *= 2;
-   |         ^^^^^^
+   |         ^
 
 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
   --> $DIR/mut_range_bound.rs:31:9
    |
 LL |         m = 5;
-   |         ^^^^^
+   |         ^
 
 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
   --> $DIR/mut_range_bound.rs:32:9
    |
 LL |         n = 7;
-   |         ^^^^^
+   |         ^
 
 error: attempt to mutate range bound within loop; note that the range of the loop is unchanged
   --> $DIR/mut_range_bound.rs:46:22