1 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
2 --> $DIR/range_traits-1.rs:5:5
5 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
7 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>`
8 = note: required by `std::cmp::PartialOrd::partial_cmp`
10 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
11 --> $DIR/range_traits-1.rs:12:5
13 LL | b: RangeTo<usize>,
14 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
16 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
17 = note: required by `std::cmp::PartialOrd::partial_cmp`
19 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
20 --> $DIR/range_traits-1.rs:19:5
22 LL | c: RangeFrom<usize>,
23 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
25 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
26 = note: required by `std::cmp::PartialOrd::partial_cmp`
28 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
29 --> $DIR/range_traits-1.rs:26:5
32 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
34 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull`
35 = note: required by `std::cmp::PartialOrd::partial_cmp`
37 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
38 --> $DIR/range_traits-1.rs:33:5
40 LL | e: RangeInclusive<usize>,
41 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
43 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
44 = note: required by `std::cmp::PartialOrd::partial_cmp`
46 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
47 --> $DIR/range_traits-1.rs:40:5
49 LL | f: RangeToInclusive<usize>,
50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
52 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
53 = note: required by `std::cmp::PartialOrd::partial_cmp`
55 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
56 --> $DIR/range_traits-1.rs:5:5
59 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
61 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>`
62 = note: required by `std::cmp::PartialOrd::partial_cmp`
64 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
65 --> $DIR/range_traits-1.rs:12:5
67 LL | b: RangeTo<usize>,
68 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
70 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
71 = note: required by `std::cmp::PartialOrd::partial_cmp`
73 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
74 --> $DIR/range_traits-1.rs:19:5
76 LL | c: RangeFrom<usize>,
77 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
79 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
80 = note: required by `std::cmp::PartialOrd::partial_cmp`
82 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
83 --> $DIR/range_traits-1.rs:26:5
86 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
88 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull`
89 = note: required by `std::cmp::PartialOrd::partial_cmp`
91 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
92 --> $DIR/range_traits-1.rs:33:5
94 LL | e: RangeInclusive<usize>,
95 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
97 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
98 = note: required by `std::cmp::PartialOrd::partial_cmp`
100 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
101 --> $DIR/range_traits-1.rs:40:5
103 LL | f: RangeToInclusive<usize>,
104 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
106 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
107 = note: required by `std::cmp::PartialOrd::partial_cmp`
109 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
110 --> $DIR/range_traits-1.rs:5:5
112 LL | a: Range<usize>,
113 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
115 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>`
116 = note: required by `std::cmp::PartialOrd::partial_cmp`
118 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
119 --> $DIR/range_traits-1.rs:12:5
121 LL | b: RangeTo<usize>,
122 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
124 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
125 = note: required by `std::cmp::PartialOrd::partial_cmp`
127 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
128 --> $DIR/range_traits-1.rs:19:5
130 LL | c: RangeFrom<usize>,
131 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
133 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
134 = note: required by `std::cmp::PartialOrd::partial_cmp`
136 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
137 --> $DIR/range_traits-1.rs:26:5
140 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
142 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull`
143 = note: required by `std::cmp::PartialOrd::partial_cmp`
145 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
146 --> $DIR/range_traits-1.rs:33:5
148 LL | e: RangeInclusive<usize>,
149 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
151 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
152 = note: required by `std::cmp::PartialOrd::partial_cmp`
154 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
155 --> $DIR/range_traits-1.rs:40:5
157 LL | f: RangeToInclusive<usize>,
158 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
160 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
161 = note: required by `std::cmp::PartialOrd::partial_cmp`
163 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
164 --> $DIR/range_traits-1.rs:5:5
166 LL | a: Range<usize>,
167 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
169 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>`
170 = note: required by `std::cmp::PartialOrd::partial_cmp`
172 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
173 --> $DIR/range_traits-1.rs:12:5
175 LL | b: RangeTo<usize>,
176 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
178 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
179 = note: required by `std::cmp::PartialOrd::partial_cmp`
181 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
182 --> $DIR/range_traits-1.rs:19:5
184 LL | c: RangeFrom<usize>,
185 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
187 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
188 = note: required by `std::cmp::PartialOrd::partial_cmp`
190 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
191 --> $DIR/range_traits-1.rs:26:5
194 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
196 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull`
197 = note: required by `std::cmp::PartialOrd::partial_cmp`
199 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
200 --> $DIR/range_traits-1.rs:33:5
202 LL | e: RangeInclusive<usize>,
203 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
205 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
206 = note: required by `std::cmp::PartialOrd::partial_cmp`
208 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
209 --> $DIR/range_traits-1.rs:40:5
211 LL | f: RangeToInclusive<usize>,
212 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
214 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
215 = note: required by `std::cmp::PartialOrd::partial_cmp`
217 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
218 --> $DIR/range_traits-1.rs:5:5
220 LL | a: Range<usize>,
221 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
223 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>`
224 = note: required by `std::cmp::PartialOrd::partial_cmp`
226 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
227 --> $DIR/range_traits-1.rs:12:5
229 LL | b: RangeTo<usize>,
230 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
232 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
233 = note: required by `std::cmp::PartialOrd::partial_cmp`
235 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
236 --> $DIR/range_traits-1.rs:19:5
238 LL | c: RangeFrom<usize>,
239 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
241 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
242 = note: required by `std::cmp::PartialOrd::partial_cmp`
244 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
245 --> $DIR/range_traits-1.rs:26:5
248 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
250 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull`
251 = note: required by `std::cmp::PartialOrd::partial_cmp`
253 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
254 --> $DIR/range_traits-1.rs:33:5
256 LL | e: RangeInclusive<usize>,
257 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
259 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
260 = note: required by `std::cmp::PartialOrd::partial_cmp`
262 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
263 --> $DIR/range_traits-1.rs:40:5
265 LL | f: RangeToInclusive<usize>,
266 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
268 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
269 = note: required by `std::cmp::PartialOrd::partial_cmp`
271 error[E0277]: the trait bound `std::ops::Range<usize>: std::cmp::Ord` is not satisfied
272 --> $DIR/range_traits-1.rs:5:5
274 LL | a: Range<usize>,
275 | ^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::Range<usize>`
277 = note: required by `std::cmp::Ord::cmp`
279 error[E0277]: the trait bound `std::ops::RangeTo<usize>: std::cmp::Ord` is not satisfied
280 --> $DIR/range_traits-1.rs:12:5
282 LL | b: RangeTo<usize>,
283 | ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeTo<usize>`
285 = note: required by `std::cmp::Ord::cmp`
287 error[E0277]: the trait bound `std::ops::RangeFrom<usize>: std::cmp::Ord` is not satisfied
288 --> $DIR/range_traits-1.rs:19:5
290 LL | c: RangeFrom<usize>,
291 | ^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeFrom<usize>`
293 = note: required by `std::cmp::Ord::cmp`
295 error[E0277]: the trait bound `std::ops::RangeFull: std::cmp::Ord` is not satisfied
296 --> $DIR/range_traits-1.rs:26:5
299 | ^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeFull`
301 = note: required by `std::cmp::Ord::cmp`
303 error[E0277]: the trait bound `std::ops::RangeInclusive<usize>: std::cmp::Ord` is not satisfied
304 --> $DIR/range_traits-1.rs:33:5
306 LL | e: RangeInclusive<usize>,
307 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeInclusive<usize>`
309 = note: required by `std::cmp::Ord::cmp`
311 error[E0277]: the trait bound `std::ops::RangeToInclusive<usize>: std::cmp::Ord` is not satisfied
312 --> $DIR/range_traits-1.rs:40:5
314 LL | f: RangeToInclusive<usize>,
315 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeToInclusive<usize>`
317 = note: required by `std::cmp::Ord::cmp`
319 error: aborting due to 36 previous errors
321 For more information about this error, try `rustc --explain E0277`.