1 error[E0277]: `Src` cannot be safely transmuted into `Dst` in the defining scope of `test::Context`.
2 --> $DIR/should_reject_if_dst_has_private_variant.rs:36:41
4 LL | assert::is_transmutable::<src::Src, dst::Dst, Context>();
5 | ^^^^^^^^ `Src` cannot be safely transmuted into `Dst` in the defining scope of `test::Context`.
7 = help: the trait `BikeshedIntrinsicFrom<Src, test::Context, Assume { alignment: false, lifetimes: false, safety: false, validity: false }>` is not implemented for `Dst`
8 note: required by a bound in `is_transmutable`
9 --> $DIR/should_reject_if_dst_has_private_variant.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> // safety is NOT assumed
15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_transmutable`
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.