rust-clippy/tests/ui/crashes/ice-11422.stderr

17 lines
565 B
Text
Raw Normal View History

error: this bound is already specified as the supertrait of `PartialOrd`
2024-02-17 12:16:29 +00:00
--> tests/ui/crashes/ice-11422.rs:6:31
|
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 {}
|
error: aborting due to 1 previous error