]> git.lizzy.rs Git - rust.git/blob - tests/ui/copies.stderr
Merge pull request #1919 from rust-lang-nursery/ui
[rust.git] / tests / ui / copies.stderr
1 error: This else block is redundant.
2
3    --> $DIR/copies.rs:121:20
4     |
5 121 |               } else {
6     |  ____________________^
7 122 | |                 continue;
8 123 | |             }
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:131:20
22     |
23 131 |               } else {
24     |  ____________________^
25 132 | |                 continue;
26 133 | |             }
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