fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>` 2 --> $DIR/range_traits-1.rs:5:5 3 | 4LL | 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 `std::cmp::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 11error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>` 12 --> $DIR/range_traits-1.rs:12:5 13 | 14LL | 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 `std::cmp::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 21error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>` 22 --> $DIR/range_traits-1.rs:19:5 23 | 24LL | 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 `std::cmp::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 31error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull` 32 --> $DIR/range_traits-1.rs:26:5 33 | 34LL | d: RangeFull, 35 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull` 36 | 37 = help: the trait `std::cmp::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 41error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>` 42 --> $DIR/range_traits-1.rs:33:5 43 | 44LL | 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 `std::cmp::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 51error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>` 52 --> $DIR/range_traits-1.rs:40:5 53 | 54LL | 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 `std::cmp::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 61error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>` 62 --> $DIR/range_traits-1.rs:5:5 63 | 64LL | a: Range<usize>, 65 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>` 66 | 67 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>` 68 = note: required by `std::cmp::PartialOrd::partial_cmp` 69 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 70 71error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>` 72 --> $DIR/range_traits-1.rs:12:5 73 | 74LL | b: RangeTo<usize>, 75 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>` 76 | 77 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>` 78 = note: required by `std::cmp::PartialOrd::partial_cmp` 79 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 80 81error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>` 82 --> $DIR/range_traits-1.rs:19:5 83 | 84LL | c: RangeFrom<usize>, 85 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>` 86 | 87 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>` 88 = note: required by `std::cmp::PartialOrd::partial_cmp` 89 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 90 91error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull` 92 --> $DIR/range_traits-1.rs:26:5 93 | 94LL | d: RangeFull, 95 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull` 96 | 97 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull` 98 = note: required by `std::cmp::PartialOrd::partial_cmp` 99 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 100 101error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>` 102 --> $DIR/range_traits-1.rs:33:5 103 | 104LL | e: RangeInclusive<usize>, 105 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>` 106 | 107 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>` 108 = note: required by `std::cmp::PartialOrd::partial_cmp` 109 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 110 111error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>` 112 --> $DIR/range_traits-1.rs:40:5 113 | 114LL | f: RangeToInclusive<usize>, 115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>` 116 | 117 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>` 118 = note: required by `std::cmp::PartialOrd::partial_cmp` 119 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 120 121error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>` 122 --> $DIR/range_traits-1.rs:5:5 123 | 124LL | a: Range<usize>, 125 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>` 126 | 127 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>` 128 = note: required by `std::cmp::PartialOrd::partial_cmp` 129 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 130 131error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>` 132 --> $DIR/range_traits-1.rs:12:5 133 | 134LL | b: RangeTo<usize>, 135 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>` 136 | 137 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>` 138 = note: required by `std::cmp::PartialOrd::partial_cmp` 139 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 140 141error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>` 142 --> $DIR/range_traits-1.rs:19:5 143 | 144LL | c: RangeFrom<usize>, 145 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>` 146 | 147 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>` 148 = note: required by `std::cmp::PartialOrd::partial_cmp` 149 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 150 151error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull` 152 --> $DIR/range_traits-1.rs:26:5 153 | 154LL | d: RangeFull, 155 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull` 156 | 157 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull` 158 = note: required by `std::cmp::PartialOrd::partial_cmp` 159 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 160 161error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>` 162 --> $DIR/range_traits-1.rs:33:5 163 | 164LL | e: RangeInclusive<usize>, 165 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>` 166 | 167 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>` 168 = note: required by `std::cmp::PartialOrd::partial_cmp` 169 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 170 171error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>` 172 --> $DIR/range_traits-1.rs:40:5 173 | 174LL | f: RangeToInclusive<usize>, 175 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>` 176 | 177 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>` 178 = note: required by `std::cmp::PartialOrd::partial_cmp` 179 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 180 181error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>` 182 --> $DIR/range_traits-1.rs:5:5 183 | 184LL | a: Range<usize>, 185 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>` 186 | 187 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>` 188 = note: required by `std::cmp::PartialOrd::partial_cmp` 189 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 190 191error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>` 192 --> $DIR/range_traits-1.rs:12:5 193 | 194LL | b: RangeTo<usize>, 195 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>` 196 | 197 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>` 198 = note: required by `std::cmp::PartialOrd::partial_cmp` 199 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 200 201error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>` 202 --> $DIR/range_traits-1.rs:19:5 203 | 204LL | c: RangeFrom<usize>, 205 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>` 206 | 207 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>` 208 = note: required by `std::cmp::PartialOrd::partial_cmp` 209 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 210 211error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull` 212 --> $DIR/range_traits-1.rs:26:5 213 | 214LL | d: RangeFull, 215 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull` 216 | 217 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull` 218 = note: required by `std::cmp::PartialOrd::partial_cmp` 219 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 220 221error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>` 222 --> $DIR/range_traits-1.rs:33:5 223 | 224LL | e: RangeInclusive<usize>, 225 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>` 226 | 227 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>` 228 = note: required by `std::cmp::PartialOrd::partial_cmp` 229 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 230 231error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>` 232 --> $DIR/range_traits-1.rs:40:5 233 | 234LL | f: RangeToInclusive<usize>, 235 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>` 236 | 237 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>` 238 = note: required by `std::cmp::PartialOrd::partial_cmp` 239 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 240 241error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>` 242 --> $DIR/range_traits-1.rs:5:5 243 | 244LL | a: Range<usize>, 245 | ^^^^^^^^^^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Range<usize> > std::ops::Range<usize>` 246 | 247 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::Range<usize>` 248 = note: required by `std::cmp::PartialOrd::partial_cmp` 249 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 250 251error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>` 252 --> $DIR/range_traits-1.rs:12:5 253 | 254LL | b: RangeTo<usize>, 255 | ^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::RangeTo<usize> > std::ops::RangeTo<usize>` 256 | 257 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeTo<usize>` 258 = note: required by `std::cmp::PartialOrd::partial_cmp` 259 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 260 261error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>` 262 --> $DIR/range_traits-1.rs:19:5 263 | 264LL | c: RangeFrom<usize>, 265 | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::RangeFrom<usize> > std::ops::RangeFrom<usize>` 266 | 267 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFrom<usize>` 268 = note: required by `std::cmp::PartialOrd::partial_cmp` 269 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 270 271error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull` 272 --> $DIR/range_traits-1.rs:26:5 273 | 274LL | d: RangeFull, 275 | ^^^^^^^^^^^^ no implementation for `std::ops::RangeFull < std::ops::RangeFull` and `std::ops::RangeFull > std::ops::RangeFull` 276 | 277 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeFull` 278 = note: required by `std::cmp::PartialOrd::partial_cmp` 279 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 280 281error[E0277]: can't compare `std::ops::RangeInclusive<usize>` with `std::ops::RangeInclusive<usize>` 282 --> $DIR/range_traits-1.rs:33:5 283 | 284LL | e: RangeInclusive<usize>, 285 | ^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeInclusive<usize> < std::ops::RangeInclusive<usize>` and `std::ops::RangeInclusive<usize> > std::ops::RangeInclusive<usize>` 286 | 287 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeInclusive<usize>` 288 = note: required by `std::cmp::PartialOrd::partial_cmp` 289 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 290 291error[E0277]: can't compare `std::ops::RangeToInclusive<usize>` with `std::ops::RangeToInclusive<usize>` 292 --> $DIR/range_traits-1.rs:40:5 293 | 294LL | f: RangeToInclusive<usize>, 295 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::ops::RangeToInclusive<usize> < std::ops::RangeToInclusive<usize>` and `std::ops::RangeToInclusive<usize> > std::ops::RangeToInclusive<usize>` 296 | 297 = help: the trait `std::cmp::PartialOrd` is not implemented for `std::ops::RangeToInclusive<usize>` 298 = note: required by `std::cmp::PartialOrd::partial_cmp` 299 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 300 301error[E0277]: the trait bound `std::ops::Range<usize>: std::cmp::Ord` is not satisfied 302 --> $DIR/range_traits-1.rs:5:5 303 | 304LL | a: Range<usize>, 305 | ^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::Range<usize>` 306 | 307 = note: required by `std::cmp::Ord::cmp` 308 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 309 310error[E0277]: the trait bound `std::ops::RangeTo<usize>: std::cmp::Ord` is not satisfied 311 --> $DIR/range_traits-1.rs:12:5 312 | 313LL | b: RangeTo<usize>, 314 | ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeTo<usize>` 315 | 316 = note: required by `std::cmp::Ord::cmp` 317 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 318 319error[E0277]: the trait bound `std::ops::RangeFrom<usize>: std::cmp::Ord` is not satisfied 320 --> $DIR/range_traits-1.rs:19:5 321 | 322LL | c: RangeFrom<usize>, 323 | ^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeFrom<usize>` 324 | 325 = note: required by `std::cmp::Ord::cmp` 326 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 327 328error[E0277]: the trait bound `std::ops::RangeFull: std::cmp::Ord` is not satisfied 329 --> $DIR/range_traits-1.rs:26:5 330 | 331LL | d: RangeFull, 332 | ^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeFull` 333 | 334 = note: required by `std::cmp::Ord::cmp` 335 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 336 337error[E0277]: the trait bound `std::ops::RangeInclusive<usize>: std::cmp::Ord` is not satisfied 338 --> $DIR/range_traits-1.rs:33:5 339 | 340LL | e: RangeInclusive<usize>, 341 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeInclusive<usize>` 342 | 343 = note: required by `std::cmp::Ord::cmp` 344 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 345 346error[E0277]: the trait bound `std::ops::RangeToInclusive<usize>: std::cmp::Ord` is not satisfied 347 --> $DIR/range_traits-1.rs:40:5 348 | 349LL | f: RangeToInclusive<usize>, 350 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::ops::RangeToInclusive<usize>` 351 | 352 = note: required by `std::cmp::Ord::cmp` 353 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 354 355error: aborting due to 36 previous errors 356 357For more information about this error, try `rustc --explain E0277`.