//@ run-pass #![feature(specialization)] //~ WARN the feature `specialization` is incomplete trait Specializable { type Output; } impl Specializable for T { default type Output = u16; } fn main() { unsafe { std::mem::transmute::::Output>(0); } }