fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
551 B16 linesraw
1error: this bound is already specified as the supertrait of `PartialOrd`
2  --> $DIR/ice-11422.rs:6:31
3   |
4LL | fn gen() -> impl PartialOrd + PartialEq + Debug {}
5   |                               ^^^^^^^^^
6   |
7   = note: `-D clippy::implied-bounds-in-impls` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::implied_bounds_in_impls)]`
9help: try removing this bound
10   |
11LL - fn gen() -> impl PartialOrd + PartialEq + Debug {}
12LL + fn gen() -> impl PartialOrd + Debug {}
13   |
14
15error: aborting due to previous error
16