1 error[E0277]: the trait bound `Foo<String>: Copy` is not satisfied
2 --> $DIR/trait-error.rs:7:5
4 LL | [Foo(String::new()); 4];
5 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Foo<String>`
7 = help: the following implementations were found:
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`.