Debian Codegraph @

third_party/rust/zerocopy/tests/ui-stable/transmute-ref-src-dst-generic.stderr

raw
1 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2 --> tests/ui-stable/transmute-ref-src-dst-generic.rs:18:5
3 |
4 18 | transmute_ref!(t)
5 | ^^^^^^^^^^^^^^^^^
6 |
7 = note: source type: `T` (this type does not have a fixed size)
8 = note: target type: `U` (this type does not have a fixed size)
9 = note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
12 --> tests/ui-stable/transmute-ref-src-dst-generic.rs:18:5
13 |
14 18 | transmute_ref!(t)
15 | ^^^^^^^^^^^^^^^^^
16 |
17 = note: source type: `AlignOf<T>` (size can vary because of T)
18 = note: target type: `MaxAlignsOf<T, U>` (size can vary because of T)
19 = note: this error originates in the macro `$crate::assert_align_gt_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)