1 2 3 4 5 6 7 8
// run-pass #![feature(trait_alias)] pub trait Foo {} pub trait FooAlias = Foo; fn main() {}