summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-overlap-with-regions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coherence/coherence-overlap-with-regions.rs')
-rw-r--r--src/test/ui/coherence/coherence-overlap-with-regions.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/coherence/coherence-overlap-with-regions.rs b/src/test/ui/coherence/coherence-overlap-with-regions.rs
deleted file mode 100644
index 32f01f418..000000000
--- a/src/test/ui/coherence/coherence-overlap-with-regions.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// check-pass
-
-#![feature(negative_impls)]
-#![feature(rustc_attrs)]
-#![feature(with_negative_coherence)]
-
-#[rustc_strict_coherence]
-trait Foo {}
-impl<T> !Foo for &T where T: 'static {}
-
-#[rustc_strict_coherence]
-trait Bar {}
-impl<T: Foo> Bar for T {}
-impl<T> Bar for &T where T: 'static {}
-
-fn main() {}