1 error[E0277]: `&'static Unit` cannot be safely transmuted into `&'static Unit` in the defining scope of `assert::Context`.
2 --> $DIR/references.rs:26:52
4 LL | assert::is_maybe_transmutable::<&'static Unit, &'static Unit>();
5 | ^^^^^^^^^^^^^ `&'static Unit` cannot be safely transmuted into `&'static Unit` in the defining scope of `assert::Context`.
7 = help: the trait `BikeshedIntrinsicFrom<&'static Unit, assert::Context, Assume { alignment: true, lifetimes: true, safety: true, validity: true }>` is not implemented for `&'static Unit`
8 note: required by a bound in `is_maybe_transmutable`
9 --> $DIR/references.rs:13:14
11 LL | pub fn is_maybe_transmutable<Src, Dst>()
12 | --------------------- required by a bound in this
14 LL | Dst: BikeshedIntrinsicFrom<Src, Context, {
17 LL | | alignment: true,
18 LL | | lifetimes: true,
22 | |__________^ required by this bound in `is_maybe_transmutable`
24 error: aborting due to previous error
26 For more information about this error, try `rustc --explain E0277`.