3 #![feature(specialization)] //~ WARN the feature `specialization` is incomplete
5 // Test that you can specialize via an explicit trait hierarchy
7 // FIXME: this doesn't work yet...
10 trait Child: Parent {}
14 impl<T: Parent> Foo for T {}
15 impl<T: Child> Foo for T {}