1 error: this boolean expression can be simplified
2 --> $DIR/match_bool.rs:25:11
4 25 | match test && test {
5 | ^^^^^^^^^^^^ help: try: `test`
7 = note: `-D nonminimal-bool` implied by `-D warnings`
9 error: you seem to be trying to match on a boolean expression
10 --> $DIR/match_bool.rs:4:5
16 | |_____^ help: consider using an if/else expression: `if test { 0 } else { 42 }`
18 = note: `-D match-bool` implied by `-D warnings`
20 error: you seem to be trying to match on a boolean expression
21 --> $DIR/match_bool.rs:10:5
23 10 | / 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:15:5
34 17 | | false => { println!("Noooo!"); }
36 | |_____^ help: consider using an if/else expression: `if !test { println!("Noooo!"); }`
38 error: you seem to be trying to match on a boolean expression
39 --> $DIR/match_bool.rs:20:5
42 21 | | false => { println!("Noooo!"); }
45 | |_____^ help: consider using an if/else expression: `if !test { println!("Noooo!"); }`
47 error: you seem to be trying to match on a boolean expression
48 --> $DIR/match_bool.rs:25:5
50 25 | / match test && test {
51 26 | | false => { println!("Noooo!"); }
54 | |_____^ help: consider using an if/else expression: `if !(test && test) { println!("Noooo!"); }`
56 error: equal expressions as operands to `&&`
57 --> $DIR/match_bool.rs:25:11
59 25 | match test && test {
62 = note: #[deny(eq_op)] on by default
64 error: you seem to be trying to match on a boolean expression
65 --> $DIR/match_bool.rs:30:5
68 31 | | false => { println!("Noooo!"); }
69 32 | | true => { println!("Yes!"); }
71 | |_____^ help: consider using an if/else expression: `if test { println!("Yes!"); } else { println!("Noooo!"); }`
73 error: aborting due to 8 previous errors