2023-12-05 11:29:36 -06:00
|
|
|
error[E0119]: conflicting implementations of trait `PartialEq<Interval<_>>` for type `Interval<_>`
|
|
|
|
--> $DIR/warn-when-cycle-is-error-in-coherence.rs:5:10
|
2023-07-24 20:49:29 -05:00
|
|
|
|
|
2023-10-06 15:35:52 -05:00
|
|
|
LL | #[derive(PartialEq, Default)]
|
2023-12-05 11:29:36 -06:00
|
|
|
| ^^^^^^^^^ conflicting implementation for `Interval<_>`
|
2023-07-24 20:49:29 -05:00
|
|
|
...
|
2023-10-06 15:35:52 -05:00
|
|
|
LL | / impl<T, Q> PartialEq<Q> for Interval<T>
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Borrow<Q>,
|
|
|
|
LL | | Q: ?Sized + PartialOrd,
|
2023-12-05 11:29:36 -06:00
|
|
|
| |___________________________- first implementation here
|
2023-07-24 20:49:29 -05:00
|
|
|
|
|
2023-12-05 11:29:36 -06:00
|
|
|
= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2023-07-24 20:49:29 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-07-24 20:49:29 -05:00
|
|
|
|
2023-12-05 11:29:36 -06:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|