1 error: This else block is redundant.
3 --> $DIR/needless_continue.rs:28:16
11 = note: `-D clippy::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 i % 2 == 0 && i % 3 == 0 {
15 println!("{}", i + 1);
17 println!("{}", i + 2);
20 println!("bar {} ", i);
21 // Merged code follows...println!("bleh");
25 if !(!(i == 2) || !(i == 5)) {
28 if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
38 error: There is no need for an explicit `else` block for this `if` expression
40 --> $DIR/needless_continue.rs:43:9
42 LL | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
45 LL | | println!("Blabber");
46 LL | | println!("Jabber");
50 = help: Consider dropping the else clause, and moving out the code in the else block, like so:
51 if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
58 error: This else block is redundant.
60 --> $DIR/needless_continue.rs:100:24
63 | ________________________^
64 LL | | continue 'inner; // should lint here
68 = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
71 // Merged code follows...println!("bar-4");
74 continue; // should lint here
82 error: There is no need for an explicit `else` block for this `if` expression
84 --> $DIR/needless_continue.rs:106:17
86 LL | / if condition() {
87 LL | | continue; // should lint here
89 LL | | println!("bar-5");
93 = help: Consider dropping the else clause, and moving out the code in the else block, like so:
100 error: aborting due to 4 previous errors