fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0512]: cannot transmute between types of different sizes, or dependently-sized types 2 --> $DIR/E0512.rs:4:23 3 | 4LL | unsafe { takes_u8(::std::mem::transmute(0u16)); } 5 | ^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: source type: `u16` (16 bits) 8 = note: target type: `u8` (8 bits) 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0512`.