2023-08-30 20:08:05 +00:00
|
|
|
error: this bound is already specified as the supertrait of `PartialOrd`
|
|
|
|
--> $DIR/ice-11422.rs:6:31
|
|
|
|
|
|
|
|
|
LL | fn gen() -> impl PartialOrd + PartialEq + Debug {}
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::implied-bounds-in-impls` implied by `-D warnings`
|
2023-09-07 19:43:06 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::implied_bounds_in_impls)]`
|
2023-08-30 20:08:05 +00:00
|
|
|
help: try removing this bound
|
|
|
|
|
|
|
|
|
LL - fn gen() -> impl PartialOrd + PartialEq + Debug {}
|
|
|
|
LL + fn gen() -> impl PartialOrd + Debug {}
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|