summaryrefslogtreecommitdiffstats
path: root/src/test/ui/specialization/issue-50452-fail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/specialization/issue-50452-fail.rs')
-rw-r--r--src/test/ui/specialization/issue-50452-fail.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/specialization/issue-50452-fail.rs b/src/test/ui/specialization/issue-50452-fail.rs
deleted file mode 100644
index fe21e9b6e..000000000
--- a/src/test/ui/specialization/issue-50452-fail.rs
+++ /dev/null
@@ -1,21 +0,0 @@
-#![feature(specialization)]
-//~^ WARN the feature `specialization` is incomplete
-
-pub trait Foo {
- fn foo();
-}
-
-impl Foo for i32 {}
-impl Foo for i64 {
- fn foo() {}
- //~^ERROR `foo` specializes an item from a parent `impl`
-}
-impl<T> Foo for T {
- fn foo() {}
-}
-
-fn main() {
- i32::foo();
- i64::foo();
- u8::foo();
-}