]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/needless_range_loop.stderr
Update changed ui tests
[rust.git] / tests / ui / needless_range_loop.stderr
index 94ee5f613fc9f60c59fc0042b3b3668150fd973f..7fb4571e0c3fbee46bff8854236685bdd46a56e7 100644 (file)
@@ -19,7 +19,6 @@ error: the loop variable `i` is only used to index `ms`.
 30 | |         ms[i] *= 2;
 31 | |     }
    | |_____^
-   |
 help: consider using an iterator
    |
 29 |     for <item> in &mut ms {
@@ -33,9 +32,10 @@ error: the loop variable `i` is only used to index `ms`.
 37 | |         *x *= 2;
 38 | |     }
    | |_____^
-   |
 help: consider using an iterator
    |
 35 |     for <item> in &mut ms {
    |
 
+error: aborting due to 3 previous errors
+