Debian Codegraph @

third_party/rust/zerocopy/tests/ui-msrv/transmute-mut-dst-generic.stderr

raw
1 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2 --> tests/ui-msrv/transmute-mut-dst-generic.rs:17:5
3 |
4 17 | transmute_mut!(u)
5 | ^^^^^^^^^^^^^^^^^
6 |
7 = note: source type: `u8` (8 bits)
8 = note: target type: `T` (this type does not have a fixed size)
9 = note: this error originates in the macro `$crate::assert_size_eq` (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-msrv/transmute-mut-dst-generic.rs:17:5
13 |
14 17 | transmute_mut!(u)
15 | ^^^^^^^^^^^^^^^^^
16 |
17 = note: source type: `AlignOf<u8>` (8 bits)
18 = note: target type: `MaxAlignsOf<u8, T>` (size can vary because of T)
19 = note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)