1 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
4 LL | unsafe { takes_u8(::std::mem::transmute(0u16)); }
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: source type: `u16` (16 bits)
8 = note: target type: `u8` (8 bits)
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0512`.