1 error[E0277]: the trait bound `Foo: Copy` is not satisfied
2 --> $DIR/repeat-to-run-dtor-twice.rs:17:13
5 | ^^^^^^^^ the trait `Copy` is not implemented for `Foo`
7 = note: the `Copy` trait is required because the repeated element will be copied
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0277`.