1 error[E0277]: the trait bound `Box<T>: Copy` is not satisfied
2 --> $DIR/issue-74824.rs:7:5
4 LL | type Copy<T>: Copy = Box<T>;
5 | ^^^^^^^^^^^^^^----^^^^^^^^^^
7 | | required by this bound in `UnsafeCopy::Copy`
8 | the trait `Copy` is not implemented for `Box<T>`
10 error[E0277]: the trait bound `T: Clone` is not satisfied
11 --> $DIR/issue-74824.rs:7:5
13 LL | type Copy<T>: Copy = Box<T>;
14 | ^^^^^^^^^^^^^^----^^^^^^^^^^
16 | | required by this bound in `UnsafeCopy::Copy`
17 | the trait `Clone` is not implemented for `T`
19 = note: required because of the requirements on the impl of `Clone` for `Box<T>`
20 help: consider restricting type parameter `T`
22 LL | type Copy<T: std::clone::Clone>: Copy = Box<T>;
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0277`.