1 error[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
4 LL | assert::is_transmutable::<Src, Dst, Context>();
5 | ^^^ The size of `Src` is smaller than the size of `Dst`
7 note: required by a bound in `is_transmutable`
8 --> $DIR/should_pad_variants.rs:13:14
10 LL | pub fn is_transmutable<Src, Dst, Context>()
11 | --------------- required by a bound in this function
13 LL | Dst: BikeshedIntrinsicFrom<Src, Context, {
15 LL | | Assume::ALIGNMENT
16 LL | | .and(Assume::LIFETIMES)
17 LL | | .and(Assume::SAFETY)
18 LL | | .and(Assume::VALIDITY)
20 | |__________^ required by this bound in `is_transmutable`
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0277`.