mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
553 B
Plaintext
17 lines
553 B
Plaintext
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`
|
|
= 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
|
|
|