1 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
2 --> $DIR/range_traits-1.rs:15: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:18: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:21: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:24: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:27: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:30: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]: the trait bound `std::ops::Range<usize>: std::cmp::Ord` is not satisfied
56 --> $DIR/range_traits-1.rs:15:5
59 | ^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::Range<usize>`
61 = note: required by `std::cmp::Ord::cmp`
63 error[E0277]: the trait bound `std::ops::RangeTo<usize>: std::cmp::Ord` is not satisfied
64 --> $DIR/range_traits-1.rs:18:5
66 LL | b: RangeTo<usize>,
67 | ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeTo<usize>`
69 = note: required by `std::cmp::Ord::cmp`
71 error[E0277]: the trait bound `std::ops::RangeFrom<usize>: std::cmp::Ord` is not satisfied
72 --> $DIR/range_traits-1.rs:21:5
74 LL | c: RangeFrom<usize>,
75 | ^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeFrom<usize>`
77 = note: required by `std::cmp::Ord::cmp`
79 error[E0277]: the trait bound `std::ops::RangeFull: std::cmp::Ord` is not satisfied
80 --> $DIR/range_traits-1.rs:24:5
83 | ^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeFull`
85 = note: required by `std::cmp::Ord::cmp`
87 error[E0277]: the trait bound `std::ops::RangeInclusive<usize>: std::cmp::Ord` is not satisfied
88 --> $DIR/range_traits-1.rs:27:5
90 LL | e: RangeInclusive<usize>,
91 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeInclusive<usize>`
93 = note: required by `std::cmp::Ord::cmp`
95 error[E0277]: the trait bound `std::ops::RangeToInclusive<usize>: std::cmp::Ord` is not satisfied
96 --> $DIR/range_traits-1.rs:30:5
98 LL | f: RangeToInclusive<usize>,
99 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeToInclusive<usize>`
101 = note: required by `std::cmp::Ord::cmp`
103 error: aborting due to 12 previous errors
105 For more information about this error, try `rustc --explain E0277`.