error[E0277]: the trait bound `str: Clone` is not satisfied --> $DIR/check-trait-object-bounds-1.rs:12:9 | LL | f::>(); | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `str` | = help: the trait `Clone` is implemented for `String` note: required by a bound in `f` --> $DIR/check-trait-object-bounds-1.rs:7:9 | LL | fn f() { | ^ required by this bound in `f` error: aborting due to previous error For more information about this error, try `rustc --explain E0277`.