1 error[E0277]: `A` cannot be safely transmuted into `B` in the defining scope of `assert::Context`.
2 --> $DIR/should_reject_intersecting.rs:36:34
4 LL | assert::is_transmutable::<A, B>();
5 | ^ `A` cannot be safely transmuted into `B` in the defining scope of `assert::Context`.
7 = help: the trait `BikeshedIntrinsicFrom<A, assert::Context, Assume { alignment: false, lifetimes: false, safety: true, validity: false }>` is not implemented for `B`
8 note: required by a bound in `is_transmutable`
9 --> $DIR/should_reject_intersecting.rs:14:14
11 LL | pub fn is_transmutable<Src, Dst>()
12 | --------------- required by a bound in this
14 LL | Dst: BikeshedIntrinsicFrom<Src, Context, { Assume::SAFETY }>
15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_transmutable`
17 error[E0277]: `B` cannot be safely transmuted into `A` in the defining scope of `assert::Context`.
18 --> $DIR/should_reject_intersecting.rs:37:34
20 LL | assert::is_transmutable::<B, A>();
21 | ^ `B` cannot be safely transmuted into `A` in the defining scope of `assert::Context`.
23 = help: the trait `BikeshedIntrinsicFrom<B, assert::Context, Assume { alignment: false, lifetimes: false, safety: true, validity: false }>` is not implemented for `A`
24 note: required by a bound in `is_transmutable`
25 --> $DIR/should_reject_intersecting.rs:14:14
27 LL | pub fn is_transmutable<Src, Dst>()
28 | --------------- required by a bound in this
30 LL | Dst: BikeshedIntrinsicFrom<Src, Context, { Assume::SAFETY }>
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `is_transmutable`
33 error: aborting due to 2 previous errors
35 For more information about this error, try `rustc --explain E0277`.