2017-05-17 12:19:44 +00:00
|
|
|
error: This else block is redundant.
|
|
|
|
|
2017-05-17 15:51:35 +00:00
|
|
|
--> copies.rs:121:20
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
121 | } else {
|
|
|
|
| ____________________^
|
|
|
|
122 | | continue;
|
|
|
|
123 | | }
|
|
|
|
| |_____________^
|
|
|
|
|
|
|
|
|
= note: `-D needless-continue` implied by `-D warnings`
|
|
|
|
= help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
|
|
|
|
if true {
|
|
|
|
break;
|
|
|
|
// Merged code follows...
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
error: This else block is redundant.
|
|
|
|
|
2017-05-17 15:51:35 +00:00
|
|
|
--> copies.rs:131:20
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
131 | } else {
|
|
|
|
| ____________________^
|
|
|
|
132 | | continue;
|
|
|
|
133 | | }
|
|
|
|
| |_____________^
|
|
|
|
|
|
|
|
|
= help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
|
|
|
|
if true {
|
|
|
|
break;
|
|
|
|
// Merged code follows...
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-07-03 04:37:30 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|