1 error: this type has already been used as a bound predicate
2 --> $DIR/type_repetition_in_bounds.rs:8:5
7 note: the lint level is defined here
8 --> $DIR/type_repetition_in_bounds.rs:1:9
10 LL | #![deny(clippy::type_repetition_in_bounds)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = help: consider combining the bounds: `T: Copy + Clone`
14 error: this type has already been used as a bound predicate
15 --> $DIR/type_repetition_in_bounds.rs:25:5
17 LL | Self: Copy + Default + Ord,
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
20 = help: consider combining the bounds: `Self: Clone + Copy + Default + Ord`
22 error: this type has already been used as a bound predicate
23 --> $DIR/type_repetition_in_bounds.rs:83:43
25 LL | fn impl_trait(_: impl AsRef<str>, _: impl AsRef<str>) {}
28 = help: consider combining the bounds: `impl AsRef<str>: AsRef<str> + AsRef<str>`
30 error: aborting due to 3 previous errors