error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> tests/bad/include_unsafe/wrong_size.rs:3:40
|
3 | static TOO_SHORT: [u16; 30] = unsafe { include_data::include_unsafe!("../../test_data/binary_64") };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 64]` (512 bits)
= note: target type: `[u16; 30]` (480 bits)
= note: this error originates in the macro `include_data::include_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info)