1 2 3 4 5 6 7
#![feature(trait_alias)] trait DefaultAlias = Default; impl DefaultAlias for () {} //~ ERROR expected trait, found trait alias fn main() {}