]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-21174.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-21174.stderr
index 5ac5a8665bc69e41c2c05fe84648abdc82d01558..09402c3d814101610a67760d90df1148e9abe146 100644 (file)
@@ -4,8 +4,8 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
 LL |     let new: T::B = unsafe { std::mem::transmute(value) };
    |                              ^^^^^^^^^^^^^^^^^^^
    |
-   = note: source type: `<T as Trait<'a>>::A` (size can vary because of <T as Trait>::A)
-   = note: target type: `<T as Trait<'a>>::B` (size can vary because of <T as Trait>::B)
+   = note: source type: `<T as Trait>::A` (this type does not have a fixed size)
+   = note: target type: `<T as Trait>::B` (this type does not have a fixed size)
 
 error: aborting due to previous error