error[E0271]: type mismatch resolving `::Target == T` --> $DIR/issue-68656-unsized-values.rs:13:21 | LL | impl UnsafeCopy for T { | - this type parameter LL | type Item<'a> = T; | ^ expected type parameter `T`, found associated type | = note: expected type parameter `T` found associated type `::Target` note: required by a bound in `UnsafeCopy::Item` --> $DIR/issue-68656-unsized-values.rs:4:36 | LL | type Item<'a>: std::ops::Deref; | ^^^^^^^^^^ required by this bound in `UnsafeCopy::Item` help: consider further restricting this bound | LL | impl> UnsafeCopy for T { | +++++++++++++++++++ error: aborting due to previous error For more information about this error, try `rustc --explain E0271`.