1 error: This else block is redundant.
3 --> $DIR/needless_continue.rs:26:16
11 note: lint level defined here
12 --> $DIR/needless_continue.rs:12:8
14 12 | #[deny(needless_continue)]
16 = help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
17 if i % 2 == 0 && i % 3 == 0 {
24 println!("bar {} ", i);
25 // Merged code follows...println!("bleh");
29 if !(!(i == 2) || !(i == 5)) {
32 if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
42 error: There is no need for an explicit `else` block for this `if` expression
44 --> $DIR/needless_continue.rs:41:9
46 41 | / if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
49 44 | | println!("Blabber");
50 45 | | println!("Jabber");
54 = help: Consider dropping the else clause, and moving out the code in the else block, like so:
55 if (zero!(i % 2) || nonzero!(i % 5)) && i % 3 != 0 {
62 error: aborting due to 2 previous errors