1 error: comparison operators cannot be chained
2 --> $DIR/chained-comparison-suggestion.rs:4:7
7 help: split the comparison into two
12 error: comparison operators cannot be chained
13 --> $DIR/chained-comparison-suggestion.rs:9:7
18 help: split the comparison into two
23 error: comparison operators cannot be chained
24 --> $DIR/chained-comparison-suggestion.rs:13:7
29 help: split the comparison into two
34 error: comparison operators cannot be chained
35 --> $DIR/chained-comparison-suggestion.rs:18:7
40 help: split the comparison into two
42 LL | 1 <= 2 && 2 <= 3;
45 error: comparison operators cannot be chained
46 --> $DIR/chained-comparison-suggestion.rs:23:7
51 help: split the comparison into two
56 error: comparison operators cannot be chained
57 --> $DIR/chained-comparison-suggestion.rs:28:7
62 help: split the comparison into two
67 error: comparison operators cannot be chained
68 --> $DIR/chained-comparison-suggestion.rs:32:7
73 help: split the comparison into two
78 error: comparison operators cannot be chained
79 --> $DIR/chained-comparison-suggestion.rs:36:7
84 help: split the comparison into two
86 LL | 1 >= 2 && 2 >= 3;
89 error: comparison operators cannot be chained
90 --> $DIR/chained-comparison-suggestion.rs:41:7
95 help: parenthesize the comparison
100 error: comparison operators cannot be chained
101 --> $DIR/chained-comparison-suggestion.rs:45:7
106 help: parenthesize the comparison
108 LL | (1 > 2) == false;
111 error: comparison operators cannot be chained
112 --> $DIR/chained-comparison-suggestion.rs:49:7
117 help: split the comparison into two
119 LL | 1 == 2 && 2 == 3;
122 error[E0308]: mismatched types
123 --> $DIR/chained-comparison-suggestion.rs:4:14
126 | ----- ^ expected `bool`, found integer
128 | expected because this is `bool`
130 error[E0308]: mismatched types
131 --> $DIR/chained-comparison-suggestion.rs:13:14
134 | ------ ^ expected `bool`, found integer
136 | expected because this is `bool`
138 error[E0308]: mismatched types
139 --> $DIR/chained-comparison-suggestion.rs:18:15
142 | ------ ^ expected `bool`, found integer
144 | expected because this is `bool`
146 error[E0308]: mismatched types
147 --> $DIR/chained-comparison-suggestion.rs:23:14
150 | ----- ^ expected `bool`, found integer
152 | expected because this is `bool`
154 error[E0308]: mismatched types
155 --> $DIR/chained-comparison-suggestion.rs:36:15
158 | ------ ^ expected `bool`, found integer
160 | expected because this is `bool`
162 error[E0308]: mismatched types
163 --> $DIR/chained-comparison-suggestion.rs:49:15
166 | ------ ^ expected `bool`, found integer
168 | expected because this is `bool`
170 error: aborting due to 17 previous errors
172 For more information about this error, try `rustc --explain E0308`.