1 error[E0277]: the trait bound `T: Copy` is not satisfied
2 --> $DIR/issue-27675-unchecked-bounds.rs:15:31
4 LL | fn copy<U: Setup + ?Sized>(from: &U::From) -> U::From {
5 | ----- required by this bound in `copy`
7 LL | copy::<dyn Setup<From=T>>(t)
8 | ^ the trait `Copy` is not implemented for `T`
10 help: consider restricting type parameter `T`
12 LL | pub fn copy_any<T: std::marker::Copy>(t: &T) -> T {
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.