1 error[E0277]: the trait bound `Foo: Clone` is not satisfied
2 --> $DIR/issue-71136.rs:5:5
5 | ----- in this derive macro expansion
6 LL | struct FooHolster {
7 LL | the_foos: Vec<Foo>,
8 | ^^^^^^^^^^^^^^^^^^ expected an implementor of trait `Clone`
10 = note: required because of the requirements on the impl of `Clone` for `Vec<Foo>`
11 note: required by `clone`
12 --> $SRC_DIR/core/src/clone.rs:LL:COL
14 LL | fn clone(&self) -> Self;
15 | ^^^^^^^^^^^^^^^^^^^^^^^^
16 = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.