1 error: equality checks against true are unnecessary
2 --> $DIR/bool_comparison.rs:6: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:11:8
13 | ^^^^^^^^^^ help: try simplifying it as shown: `!x`
15 error: equality checks against true are unnecessary
16 --> $DIR/bool_comparison.rs:16: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:21: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:26:8
31 | ^^^^^^^^^ help: try simplifying it as shown: `!x`
33 error: inequality checks against false are unnecessary
34 --> $DIR/bool_comparison.rs:31: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:36:8
43 | ^^^^^^^^^ help: try simplifying it as shown: `!x`
45 error: inequality checks against false are unnecessary
46 --> $DIR/bool_comparison.rs:41: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:46:8
55 | ^^^^^^^^ help: try simplifying it as shown: `!x`
57 error: greater than checks against false are unnecessary
58 --> $DIR/bool_comparison.rs:51:8
61 | ^^^^^^^^^ help: try simplifying it as shown: `x`
63 error: greater than checks against false are unnecessary
64 --> $DIR/bool_comparison.rs:56: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:61:8
73 | ^^^^^^^^ help: try simplifying it as shown: `!x`
75 error: order comparisons between booleans can be simplified
76 --> $DIR/bool_comparison.rs:67:8
79 | ^^^^^ help: try simplifying it as shown: `!x & y`
81 error: order comparisons between booleans can be simplified
82 --> $DIR/bool_comparison.rs:72:8
85 | ^^^^^ help: try simplifying it as shown: `x & !y`
87 error: This comparison might be written more concisely
88 --> $DIR/bool_comparison.rs:120:8
91 | ^^^^^^^ help: try simplifying it as shown: `a != b`
93 error: This comparison might be written more concisely
94 --> $DIR/bool_comparison.rs:121:8
97 | ^^^^^^^ help: try simplifying it as shown: `a != b`
99 error: This comparison might be written more concisely
100 --> $DIR/bool_comparison.rs:125:8
103 | ^^^^^^^ help: try simplifying it as shown: `b != a`
105 error: This comparison might be written more concisely
106 --> $DIR/bool_comparison.rs:126:8
109 | ^^^^^^^ help: try simplifying it as shown: `b != a`
111 error: aborting due to 18 previous errors