trait Trait {} struct Bar(Box>); //~^ ERROR cannot find type `T` in this scope fn main() { let x: Bar = unsafe { std::mem::transmute(()) }; }