1 error: `if` expression with an `else if`, but without a final `else`
2 --> $DIR/else_if_without_else.rs:45:12
4 LL | } else if bla2() {
6 LL | | //~ ERROR else if without else
7 LL | | println!("else if");
11 = note: `-D clippy::else-if-without-else` implied by `-D warnings`
12 = help: add an `else` block here
14 error: `if` expression with an `else if`, but without a final `else`
15 --> $DIR/else_if_without_else.rs:54:12
17 LL | } else if bla3() {
19 LL | | //~ ERROR else if without else
20 LL | | println!("else if 2");
24 = help: add an `else` block here
26 error: aborting due to 2 previous errors