2023-09-12 11:13:53 -05:00
|
|
|
error: this bound is already specified as the supertrait of `PartialOrd`
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/crashes/ice-11422.rs:6:31
|
2023-09-12 11:13:53 -05:00
|
|
|
|
|
|
|
|
LL | fn gen() -> impl PartialOrd + PartialEq + Debug {}
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::implied-bounds-in-impls` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::implied_bounds_in_impls)]`
|
|
|
|
help: try removing this bound
|
|
|
|
|
|
|
|
|
LL - fn gen() -> impl PartialOrd + PartialEq + Debug {}
|
|
|
|
LL + fn gen() -> impl PartialOrd + Debug {}
|
|
|
|
|
|
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-09-12 11:13:53 -05:00
|
|
|
|