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