]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/generic-associated-types/issue-74824.stderr
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / ui / generic-associated-types / issue-74824.stderr
index 623adb1c2ad1ecb832616ad35bd3a91a19bacfa9..e5638d90ee8e7a90b7ece6292c4b5627bf1d9a7d 100644 (file)
@@ -17,6 +17,7 @@ LL |     type Copy<T>: Copy = Box<T>;
    |                          ^^^^^^ the trait `Clone` is not implemented for `T`
    |
    = note: required for `Box<T>` to implement `Clone`
+   = note: required for `<Self as UnsafeCopy>::Copy<T>` to implement `Copy`
 note: required by a bound in `UnsafeCopy::Copy`
   --> $DIR/issue-74824.rs:6:19
    |