mirror of https://github.com/rust-lang/rust
16 lines
544 B
Plaintext
16 lines
544 B
Plaintext
error[E0277]: the trait bound `String: Copy` is not satisfied
|
|
--> $DIR/extern-crate-has-lazy-type-aliases.rs:15:24
|
|
|
|
|
LL | let _: lazy::Alias<String>;
|
|
| ^^^^^^ the trait `Copy` is not implemented for `String`
|
|
|
|
|
note: required by a bound in `lazy::Alias`
|
|
--> $DIR/auxiliary/lazy.rs:3:19
|
|
|
|
|
LL | pub type Alias<T: Copy> = Option<T>;
|
|
| ^^^^ required by this bound in `Alias`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|