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