fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0277]: can't compare `Comparable` with `Comparable` 2 --> $DIR/issue-34229.rs:2:46 3 | 4LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable); 5 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable` 6 | 7 = help: the trait `std::cmp::PartialOrd` is not implemented for `Comparable` 8 = note: required by `std::cmp::PartialOrd::partial_cmp` 9 10error[E0277]: can't compare `Comparable` with `Comparable` 11 --> $DIR/issue-34229.rs:2:46 12 | 13LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable); 14 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable` 15 | 16 = help: the trait `std::cmp::PartialOrd` is not implemented for `Comparable` 17 = note: required by `std::cmp::PartialOrd::partial_cmp` 18 19error[E0277]: can't compare `Comparable` with `Comparable` 20 --> $DIR/issue-34229.rs:2:46 21 | 22LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable); 23 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable` 24 | 25 = help: the trait `std::cmp::PartialOrd` is not implemented for `Comparable` 26 = note: required by `std::cmp::PartialOrd::partial_cmp` 27 28error[E0277]: can't compare `Comparable` with `Comparable` 29 --> $DIR/issue-34229.rs:2:46 30 | 31LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable); 32 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable` 33 | 34 = help: the trait `std::cmp::PartialOrd` is not implemented for `Comparable` 35 = note: required by `std::cmp::PartialOrd::partial_cmp` 36 37error[E0277]: can't compare `Comparable` with `Comparable` 38 --> $DIR/issue-34229.rs:2:46 39 | 40LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable); 41 | ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable` 42 | 43 = help: the trait `std::cmp::PartialOrd` is not implemented for `Comparable` 44 = note: required by `std::cmp::PartialOrd::partial_cmp` 45 46error: aborting due to 5 previous errors 47 48For more information about this error, try `rustc --explain E0277`.