1 error[E0277]: can't compare `PriorityQueue<T>` with `PriorityQueue<T>`
2 --> $DIR/issue-104884-trait-impl-sugg-err.rs:13:10
4 LL | #[derive(PartialOrd, AddImpl)]
5 | ^^^^^^^^^^ no implementation for `PriorityQueue<T> == PriorityQueue<T>`
7 = help: the trait `PartialEq` is not implemented for `PriorityQueue<T>`
8 note: required by a bound in `PartialOrd`
9 --> $SRC_DIR/core/src/cmp.rs:LL:COL
10 = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
12 error[E0277]: the trait bound `PriorityQueue<T>: Eq` is not satisfied
13 --> $DIR/issue-104884-trait-impl-sugg-err.rs:13:22
15 LL | #[derive(PartialOrd, AddImpl)]
16 | ^^^^^^^ the trait `Eq` is not implemented for `PriorityQueue<T>`
18 note: required by a bound in `Ord`
19 --> $SRC_DIR/core/src/cmp.rs:LL:COL
20 = note: this error originates in the derive macro `AddImpl` (in Nightly builds, run with -Z macro-backtrace for more info)
22 error[E0277]: can't compare `T` with `T`
23 --> $DIR/issue-104884-trait-impl-sugg-err.rs:13:22
25 LL | #[derive(PartialOrd, AddImpl)]
26 | ^^^^^^^ no implementation for `T < T` and `T > T`
28 note: required for `PriorityQueue<T>` to implement `PartialOrd`
29 --> $DIR/issue-104884-trait-impl-sugg-err.rs:13:10
31 LL | #[derive(PartialOrd, AddImpl)]
33 note: required by a bound in `Ord`
34 --> $SRC_DIR/core/src/cmp.rs:LL:COL
35 = note: this error originates in the derive macro `AddImpl` which comes from the expansion of the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0277`.