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