1 error: this boolean expression can be simplified
2 --> $DIR/match_bool.rs:38:11
4 38 | match test && test {
5 | ^^^^^^^^^^^^ help: try: `test`
7 = note: `-D clippy::nonminimal-bool` implied by `-D warnings`
9 error: you seem to be trying to match on a boolean expression
10 --> $DIR/match_bool.rs:13:5
16 | |_____^ help: consider using an if/else expression: `if test { 0 } else { 42 }`
18 = note: `-D clippy::match-bool` implied by `-D warnings`
20 error: you seem to be trying to match on a boolean expression
21 --> $DIR/match_bool.rs:19:5
23 19 | / match option == 1 {
27 | |_____^ help: consider using an if/else expression: `if option == 1 { 1 } else { 0 }`
29 error: you seem to be trying to match on a boolean expression
30 --> $DIR/match_bool.rs:24:5
35 27 | | println!("Noooo!");
39 help: consider using an if/else expression
42 25 | println!("Noooo!");
46 error: you seem to be trying to match on a boolean expression
47 --> $DIR/match_bool.rs:31:5
51 33 | | println!("Noooo!");
56 help: consider using an if/else expression
59 32 | println!("Noooo!");
63 error: you seem to be trying to match on a boolean expression
64 --> $DIR/match_bool.rs:38:5
66 38 | / match test && test {
68 40 | | println!("Noooo!");
73 help: consider using an if/else expression
75 38 | if !(test && test) {
76 39 | println!("Noooo!");
80 error: equal expressions as operands to `&&`
81 --> $DIR/match_bool.rs:38:11
83 38 | match test && test {
86 = note: #[deny(clippy::eq_op)] on by default
88 error: you seem to be trying to match on a boolean expression
89 --> $DIR/match_bool.rs:45:5
93 47 | | println!("Noooo!");
99 help: consider using an if/else expression
102 46 | println!("Yes!");
104 48 | println!("Noooo!");
108 error: aborting due to 8 previous errors