fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `Src` cannot be safely transmuted into `Dst` in the defining scope of `should_pad_variants::Context` 2 --> $DIR/should_pad_variants.rs:44:36 3 | 4LL | assert::is_transmutable::<Src, Dst, Context>(); 5 | ^^^ The size of `Src` is smaller than the size of `Dst` 6 | 7note: required by a bound in `is_transmutable` 8 --> $DIR/should_pad_variants.rs:13:14 9 | 10LL | pub fn is_transmutable<Src, Dst, Context>() 11 | --------------- required by a bound in this function 12LL | where 13LL | Dst: BikeshedIntrinsicFrom<Src, Context, { 14 | ______________^ 15LL | | Assume::ALIGNMENT 16LL | | .and(Assume::LIFETIMES) 17LL | | .and(Assume::SAFETY) 18LL | | .and(Assume::VALIDITY) 19LL | | }> 20 | |__________^ required by this bound in `is_transmutable` 21 22error: aborting due to previous error 23 24For more information about this error, try `rustc --explain E0277`.