1 trait UnsafeCopy<'a, T: Copy>
3 for<'b> <Self as UnsafeCopy<'b, T>>::Item: std::ops::Deref<Target = T>,
7 fn bug(item: &Self::Item) -> () {
13 impl<T: Copy + std::ops::Deref> UnsafeCopy<'_, T> for T {
14 //~^ ERROR the trait bound `<T as UnsafeCopy<'b, T>>::Item: Deref` is not satisfied
16 //~^ ERROR the trait bound `for<'b> <T as UnsafeCopy<'b, T>>::Item: Deref
20 <&'static str>::bug(&"");