]> git.lizzy.rs Git - rust.git/blob - tests/ui/copies.stderr
Update changed ui tests
[rust.git] / tests / ui / copies.stderr
1 error: This else block is redundant.
2
3    --> $DIR/copies.rs:120:20
4     |
5 120 |               } else {
6     |  ____________________^
7 121 | |                 continue;
8 122 | |             }
9     | |_____________^
10     |
11     = note: `-D needless-continue` implied by `-D warnings`
12     = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
13             if true {
14             break;
15             // Merged code follows...
16             }
17             
18
19 error: This else block is redundant.
20
21    --> $DIR/copies.rs:130:20
22     |
23 130 |               } else {
24     |  ____________________^
25 131 | |                 continue;
26 132 | |             }
27     | |_____________^
28     |
29     = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
30             if true {
31             break;
32             // Merged code follows...
33             }
34             
35
36 error: aborting due to 2 previous errors
37