1 error[E0277]: the trait bound `Foo<std::string::String>: std::marker::Copy` is not satisfied
2 --> $DIR/trait-error.rs:8:5
4 LL | [Foo(String::new()); 4];
5 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `Foo<std::string::String>`
7 = help: the following implementations were found:
8 <Foo<T> as std::marker::Copy>
9 = note: the `Copy` trait is required because the repeated element will be copied
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0277`.