about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-11422.stderr
blob: 67944e4e6e80d257cc15a9fe646be741cae2aea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: this bound is already specified as the supertrait of `PartialOrd`
  --> tests/ui/crashes/ice-11422.rs:6:33
   |
LL | fn r#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 r#gen() -> impl PartialOrd + PartialEq + Debug {}
LL + fn r#gen() -> impl PartialOrd + Debug {}
   |

error: aborting due to 1 previous error