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