1error: unnecessary boolean `not` operation
2  --> $DIR/if_not_else.rs:12:5
3   |
4LL | /     if !bla() {
5LL | |         println!("Bugs");
6LL | |     } else {
7LL | |         println!("Bunny");
8LL | |     }
9   | |_____^
10   |
11   = note: `-D clippy::if-not-else` implied by `-D warnings`
12   = help: remove the `!` and swap the blocks of the `if`/`else`
13
14error: unnecessary `!=` operation
15  --> $DIR/if_not_else.rs:17:5
16   |
17LL | /     if 4 != 5 {
18LL | |         println!("Bugs");
19LL | |     } else {
20LL | |         println!("Bunny");
21LL | |     }
22   | |_____^
23   |
24   = help: change to `==` and swap the blocks of the `if`/`else`
25
26error: aborting due to 2 previous errors
27
28