1 error: you are deriving `Ord` but have implemented `PartialOrd` explicitly
2 --> $DIR/derive_ord_xor_partial_ord.rs:21:10
4 LL | #[derive(Ord, PartialEq, Eq)]
7 note: `PartialOrd` implemented here
8 --> $DIR/derive_ord_xor_partial_ord.rs:24:1
10 LL | impl PartialOrd for DeriveOrd {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = note: `-D clippy::derive-ord-xor-partial-ord` implied by `-D warnings`
13 = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)
15 error: you are deriving `Ord` but have implemented `PartialOrd` explicitly
16 --> $DIR/derive_ord_xor_partial_ord.rs:30:10
18 LL | #[derive(Ord, PartialEq, Eq)]
21 note: `PartialOrd` implemented here
22 --> $DIR/derive_ord_xor_partial_ord.rs:33:1
24 LL | impl PartialOrd<DeriveOrdWithExplicitTypeVariable> for DeriveOrdWithExplicitTypeVariable {
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 = note: this error originates in the derive macro `Ord` (in Nightly builds, run with -Z macro-backtrace for more info)
28 error: you are implementing `Ord` explicitly but have derived `PartialOrd`
29 --> $DIR/derive_ord_xor_partial_ord.rs:42:1
31 LL | / impl std::cmp::Ord for DerivePartialOrd {
32 LL | | fn cmp(&self, other: &Self) -> Ordering {
38 note: `PartialOrd` implemented here
39 --> $DIR/derive_ord_xor_partial_ord.rs:39:10
41 LL | #[derive(PartialOrd, PartialEq, Eq)]
43 = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
45 error: you are implementing `Ord` explicitly but have derived `PartialOrd`
46 --> $DIR/derive_ord_xor_partial_ord.rs:62:5
48 LL | / impl Ord for DerivePartialOrdInUseOrd {
49 LL | | fn cmp(&self, other: &Self) -> Ordering {
55 note: `PartialOrd` implemented here
56 --> $DIR/derive_ord_xor_partial_ord.rs:59:14
58 LL | #[derive(PartialOrd, PartialEq, Eq)]
60 = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
62 error: aborting due to 4 previous errors