1 error: this `else` block is redundant
2 --> $DIR/needless_continue.rs:28:16
10 = note: `-D clippy::needless-continue` implied by `-D warnings`
11 = help: consider dropping the `else` clause and merging the code that follows (in the loop) with the `if` block
12 if i % 2 == 0 && i % 3 == 0 {
14 println!("{}", i + 1);
16 println!("{}", i + 2);
19 println!("bar {} ", i);
20 // merged code follows:
25 if !(!(i == 2) || !(i == 5)) {
28 if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
37 error: there is no need for an explicit `else` block for this `if` expression
38 --> $DIR/needless_continue.rs:43:9
40 LL | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
43 LL | | println!("Blabber");
44 LL | | println!("Jabber");
48 = help: consider dropping the `else` clause
49 if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
57 error: this `else` block is redundant
58 --> $DIR/needless_continue.rs:100:24
61 | ________________________^
62 LL | | continue 'inner; // should lint here
66 = help: consider dropping the `else` clause and merging the code that follows (in the loop) with the `if` block
69 // merged code follows:
73 continue; // should lint here
80 error: there is no need for an explicit `else` block for this `if` expression
81 --> $DIR/needless_continue.rs:106:17
83 LL | / if condition() {
84 LL | | continue; // should lint here
86 LL | | println!("bar-5");
90 = help: consider dropping the `else` clause
92 continue; // should lint here
98 error: aborting due to 4 previous errors