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