1 error[E0277]: the trait bound `str: Clone` is not satisfied
2 --> $DIR/check-trait-object-bounds-4.rs:15:5
4 LL | f::<dyn X<Y = str>>();
5 | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `str`
7 = help: the following implementations were found:
9 note: required by a bound in `f`
10 --> $DIR/check-trait-object-bounds-4.rs:10:9
12 LL | fn f<T: X + ?Sized>() {
13 | ^ required by this bound in `f`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.