.cargo/vendor/zerocopy/tests/ui-msrv/transmute-mut-dst-not-a-reference.stderr
raw| 1 | error[E0308]: mismatched types |
| 2 | --> tests/ui-msrv/transmute-mut-dst-not-a-reference.rs:17:36 |
| 3 | | |
| 4 | 17 | const DST_NOT_A_REFERENCE: usize = transmute_mut!(&mut 0u8); |
| 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&mut _` |
| 6 | | |
| 7 | = note: expected type `usize` |
| 8 | found mutable reference `&mut _` |
| 9 | = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) |