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