blob: fc9f31c5ebc7e91a7fe600d27af57ef99dc3ffe1 [file] [log] [blame]
error[E0277]: the trait bound `str: Clone` is not satisfied
--> $DIR/check-trait-object-bounds-4.rs:15:5
|
LL | fn f<T: X + ?Sized>() {
| - required by this bound in `f`
...
LL | f::<dyn X<Y = str>>();
| ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `str`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.