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 | ^^^ `Src` cannot be safely transmuted into `Dst` in the defining scope of `should_pad_variants::Context`.
7 = help: the trait `BikeshedIntrinsicFrom<Src, should_pad_variants::Context, Assume { alignment: true, lifetimes: true, safety: true, validity: true }>` is not implemented for `Dst`
8 note: required by a bound in `is_transmutable`
9 --> $DIR/should_pad_variants.rs:13:14
11 LL | pub fn is_transmutable<Src, Dst, Context>()
12 | --------------- required by a bound in this
14 LL | Dst: BikeshedIntrinsicFrom<Src, Context, {
16 LL | | Assume::ALIGNMENT
17 LL | | .and(Assume::LIFETIMES)
18 LL | | .and(Assume::SAFETY)
19 LL | | .and(Assume::VALIDITY)
21 | |__________^ required by this bound in `is_transmutable`
23 error: aborting due to previous error
25 For more information about this error, try `rustc --explain E0277`.