error[E0271]: type mismatch resolving `::Target == T` --> $DIR/issue-68656-unsized-values.rs:15:5 | LL | type Item<'a>: std::ops::Deref; | ---------- required by this bound in `UnsafeCopy::Item` ... 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` 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`.