= help: consider combining the bounds: `Self: Clone + Copy + Default + Ord`
error: this type has already been used as a bound predicate
- --> $DIR/type_repetition_in_bounds.rs:83:43
+ --> $DIR/type_repetition_in_bounds.rs:85:5
|
-LL | fn impl_trait(_: impl AsRef<str>, _: impl AsRef<str>) {}
- | ^^^^^^^^^^
+LL | T: Clone,
+ | ^^^^^^^^
+ |
+ = help: consider combining the bounds: `T: ?Sized + Clone`
+
+error: this type has already been used as a bound predicate
+ --> $DIR/type_repetition_in_bounds.rs:90:5
+ |
+LL | T: ?Sized,
+ | ^^^^^^^^^
|
- = help: consider combining the bounds: `impl AsRef<str>: AsRef<str> + AsRef<str>`
+ = help: consider combining the bounds: `T: Clone + ?Sized`
-error: aborting due to 3 previous errors
+error: aborting due to 4 previous errors