mirror of https://github.com/rust-lang/rust
16 lines
496 B
Plaintext
16 lines
496 B
Plaintext
error[E0277]: the trait bound `String: Copy` is not satisfied
|
|
--> $DIR/own-bound-span.rs:14:24
|
|
|
|
|
LL | let _: <S as D>::P<String>;
|
|
| ^^^^^^ the trait `Copy` is not implemented for `String`
|
|
|
|
|
note: required by a bound in `D::P`
|
|
--> $DIR/own-bound-span.rs:4:15
|
|
|
|
|
LL | type P<T: Copy>;
|
|
| ^^^^ required by this bound in `D::P`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|