summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/strict-coherence-needs-negative-coherence.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coherence/strict-coherence-needs-negative-coherence.rs')
-rw-r--r--src/test/ui/coherence/strict-coherence-needs-negative-coherence.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/coherence/strict-coherence-needs-negative-coherence.rs b/src/test/ui/coherence/strict-coherence-needs-negative-coherence.rs
deleted file mode 100644
index 221683dd5..000000000
--- a/src/test/ui/coherence/strict-coherence-needs-negative-coherence.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-#![feature(rustc_attrs)]
-
-#[rustc_strict_coherence]
-trait Foo {}
-//~^ ERROR to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
-
-fn main() {}