]> git.proxmox.com Git - rustc.git/blob - src/test/ui/range/range_traits-1.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / range / range_traits-1.stderr
1 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
2 --> $DIR/range_traits-1.rs:5:5
3 |
4 LL | a: Range<usize>,
5 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>`
6 |
7 = help: the trait `PartialOrd` is not implemented for `std::ops::Range<usize>`
8 = note: required by `std::cmp::PartialOrd::partial_cmp`
9 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
12 --> $DIR/range_traits-1.rs:8:5
13 |
14 LL | b: RangeTo<usize>,
15 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>`
16 |
17 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
18 = note: required by `std::cmp::PartialOrd::partial_cmp`
19 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
20
21 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
22 --> $DIR/range_traits-1.rs:11:5
23 |
24 LL | c: RangeFrom<usize>,
25 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>`
26 |
27 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
28 = note: required by `std::cmp::PartialOrd::partial_cmp`
29 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
30
31 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
32 --> $DIR/range_traits-1.rs:14:5
33 |
34 LL | d: RangeFull,
35 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull`
36 |
37 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFull`
38 = note: required by `std::cmp::PartialOrd::partial_cmp`
39 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
40
41 error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>`
42 --> $DIR/range_traits-1.rs:17:5
43 |
44 LL | e: RangeInclusive<usize>,
45 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>`
46 |
47 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>`
48 = note: required by `std::cmp::PartialOrd::partial_cmp`
49 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
50
51 error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>`
52 --> $DIR/range_traits-1.rs:20:5
53 |
54 LL | f: RangeToInclusive<usize>,
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>`
56 |
57 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>`
58 = note: required by `std::cmp::PartialOrd::partial_cmp`
59 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
60
61 error[E0277]: the trait bound `std::ops::Range<usize>: Ord` is not satisfied
62 --> $DIR/range_traits-1.rs:5:5
63 |
64 LL | a: Range<usize>,
65 | ^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::Range<usize>`
66 |
67 = note: required by `std::cmp::Ord::cmp`
68 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
69
70 error[E0277]: the trait bound `std::ops::RangeTo<usize>: Ord` is not satisfied
71 --> $DIR/range_traits-1.rs:8:5
72 |
73 LL | b: RangeTo<usize>,
74 | ^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeTo<usize>`
75 |
76 = note: required by `std::cmp::Ord::cmp`
77 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
78
79 error[E0277]: the trait bound `std::ops::RangeFrom<usize>: Ord` is not satisfied
80 --> $DIR/range_traits-1.rs:11:5
81 |
82 LL | c: RangeFrom<usize>,
83 | ^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeFrom<usize>`
84 |
85 = note: required by `std::cmp::Ord::cmp`
86 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
87
88 error[E0277]: the trait bound `std::ops::RangeFull: Ord` is not satisfied
89 --> $DIR/range_traits-1.rs:14:5
90 |
91 LL | d: RangeFull,
92 | ^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeFull`
93 |
94 = note: required by `std::cmp::Ord::cmp`
95 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
96
97 error[E0277]: the trait bound `std::ops::RangeInclusive<usize>: Ord` is not satisfied
98 --> $DIR/range_traits-1.rs:17:5
99 |
100 LL | e: RangeInclusive<usize>,
101 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeInclusive<usize>`
102 |
103 = note: required by `std::cmp::Ord::cmp`
104 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
105
106 error[E0277]: the trait bound `std::ops::RangeToInclusive<usize>: Ord` is not satisfied
107 --> $DIR/range_traits-1.rs:20:5
108 |
109 LL | f: RangeToInclusive<usize>,
110 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `std::ops::RangeToInclusive<usize>`
111 |
112 = note: required by `std::cmp::Ord::cmp`
113 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
114
115 error: aborting due to 12 previous errors
116
117 For more information about this error, try `rustc --explain E0277`.