1 error[E0277]: the trait bound `for<'b> <T as UnsafeCopy<'b, T>>::Item: Deref` is not satisfied
2 --> $DIR/hr-associated-type-projection-1.rs:15:17
4 LL | trait UnsafeCopy<'a, T: Copy>
5 | ---------- required by a bound in this
7 LL | for<'b> <Self as UnsafeCopy<'b, T>>::Item: std::ops::Deref<Target = T>,
8 | --------------------------- required by this bound in `UnsafeCopy`
11 | ^ the trait `for<'b> Deref` is not implemented for `<T as UnsafeCopy<'b, T>>::Item`
13 = help: the following implementations were found:
17 error[E0277]: the trait bound `<T as UnsafeCopy<'b, T>>::Item: Deref` is not satisfied
18 --> $DIR/hr-associated-type-projection-1.rs:13:33
20 LL | impl<T: Copy + std::ops::Deref> UnsafeCopy<'_, T> for T {
21 | ^^^^^^^^^^^^^^^^^ the trait `Deref` is not implemented for `<T as UnsafeCopy<'b, T>>::Item`
23 help: consider further restricting the associated type
25 LL | impl<T: Copy + std::ops::Deref> UnsafeCopy<'_, T> for T where <T as UnsafeCopy<'b, T>>::Item: Deref {
26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28 error: aborting due to 2 previous errors
30 For more information about this error, try `rustc --explain E0277`.