1 #![feature(transmutability)]
4 use std::mem::BikeshedIntrinsicFrom;
6 pub fn is_transmutable<Src, Context, const ASSUME_ALIGNMENT: bool>()
8 Dst: BikeshedIntrinsicFrom<Src, Context, ASSUME_ALIGNMENT>, //~ ERROR cannot find type `Dst` in this scope
9 //~^ ERROR mismatched types
18 assert::is_transmutable::<Src, Context, false>();