diff options
Diffstat (limited to 'src/test/ui/specialization/specialization-supertraits.rs')
-rw-r--r-- | src/test/ui/specialization/specialization-supertraits.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/specialization/specialization-supertraits.rs b/src/test/ui/specialization/specialization-supertraits.rs deleted file mode 100644 index fb85d8019..000000000 --- a/src/test/ui/specialization/specialization-supertraits.rs +++ /dev/null @@ -1,17 +0,0 @@ -// run-pass - -#![feature(specialization)] //~ WARN the feature `specialization` is incomplete - -// Test that you can specialize via an explicit trait hierarchy - -// FIXME: this doesn't work yet... - -trait Parent {} -trait Child: Parent {} - -trait Foo {} - -impl<T: Parent> Foo for T {} -impl<T: Child> Foo for T {} - -fn main() {} |