1 error: equality checks against true are unnecessary
2 --> $DIR/bool_comparison.rs:7:8
5 | ^^^^^^^^^ help: try simplifying it as shown: `x`
7 = note: `-D clippy::bool-comparison` implied by `-D warnings`
9 error: equality checks against false can be replaced by a negation
10 --> $DIR/bool_comparison.rs:12:8
13 | ^^^^^^^^^^ help: try simplifying it as shown: `!x`
15 error: equality checks against true are unnecessary
16 --> $DIR/bool_comparison.rs:17:8
19 | ^^^^^^^^^ help: try simplifying it as shown: `x`
21 error: equality checks against false can be replaced by a negation
22 --> $DIR/bool_comparison.rs:22:8
25 | ^^^^^^^^^^ help: try simplifying it as shown: `!x`
27 error: inequality checks against true can be replaced by a negation
28 --> $DIR/bool_comparison.rs:27:8
31 | ^^^^^^^^^ help: try simplifying it as shown: `!x`
33 error: inequality checks against false are unnecessary
34 --> $DIR/bool_comparison.rs:32:8
37 | ^^^^^^^^^^ help: try simplifying it as shown: `x`
39 error: inequality checks against true can be replaced by a negation
40 --> $DIR/bool_comparison.rs:37:8
43 | ^^^^^^^^^ help: try simplifying it as shown: `!x`
45 error: inequality checks against false are unnecessary
46 --> $DIR/bool_comparison.rs:42:8
49 | ^^^^^^^^^^ help: try simplifying it as shown: `x`
51 error: less than comparison against true can be replaced by a negation
52 --> $DIR/bool_comparison.rs:47:8
55 | ^^^^^^^^ help: try simplifying it as shown: `!x`
57 error: greater than checks against false are unnecessary
58 --> $DIR/bool_comparison.rs:52:8
61 | ^^^^^^^^^ help: try simplifying it as shown: `x`
63 error: greater than checks against false are unnecessary
64 --> $DIR/bool_comparison.rs:57:8
67 | ^^^^^^^^^ help: try simplifying it as shown: `x`
69 error: less than comparison against true can be replaced by a negation
70 --> $DIR/bool_comparison.rs:62:8
73 | ^^^^^^^^ help: try simplifying it as shown: `!x`
75 error: order comparisons between booleans can be simplified
76 --> $DIR/bool_comparison.rs:68:8
79 | ^^^^^ help: try simplifying it as shown: `!x & y`
81 error: order comparisons between booleans can be simplified
82 --> $DIR/bool_comparison.rs:73:8
85 | ^^^^^ help: try simplifying it as shown: `x & !y`
87 error: this comparison might be written more concisely
88 --> $DIR/bool_comparison.rs:121:8
91 | ^^^^^^^ help: try simplifying it as shown: `a != b`
93 error: this comparison might be written more concisely
94 --> $DIR/bool_comparison.rs:122:8
97 | ^^^^^^^ help: try simplifying it as shown: `a != b`
99 error: this comparison might be written more concisely
100 --> $DIR/bool_comparison.rs:126:8
103 | ^^^^^^^ help: try simplifying it as shown: `b != a`
105 error: this comparison might be written more concisely
106 --> $DIR/bool_comparison.rs:127:8
109 | ^^^^^^^ help: try simplifying it as shown: `b != a`
111 error: equality checks against false can be replaced by a negation
112 --> $DIR/bool_comparison.rs:151:8
114 LL | if false == m!(func) {}
115 | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!m!(func)`
117 error: equality checks against false can be replaced by a negation
118 --> $DIR/bool_comparison.rs:152:8
120 LL | if m!(func) == false {}
121 | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!m!(func)`
123 error: equality checks against true are unnecessary
124 --> $DIR/bool_comparison.rs:153:8
126 LL | if true == m!(func) {}
127 | ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `m!(func)`
129 error: equality checks against true are unnecessary
130 --> $DIR/bool_comparison.rs:154:8
132 LL | if m!(func) == true {}
133 | ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `m!(func)`
135 error: aborting due to 22 previous errors