.cargo/vendor/zerocopy/tests/ui-msrv/transmute-ref-dst-unsized.stderr
raw| 1 | error[E0277]: the size for values of type `[u8]` cannot be known at compilation time |
| 2 | --> tests/ui-msrv/transmute-ref-dst-unsized.rs:17:28 |
| 3 | | |
| 4 | 17 | const DST_UNSIZED: &[u8] = transmute_ref!(&[0u8; 1]); |
| 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time |
| 6 | | |
| 7 | = help: the trait `Sized` is not implemented for `[u8]` |
| 8 | = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) |