summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-overlap-with-regions.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/coherence/coherence-overlap-with-regions.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/ui/coherence/coherence-overlap-with-regions.rs b/tests/ui/coherence/coherence-overlap-with-regions.rs
index 32f01f418..9945c8e6c 100644
--- a/tests/ui/coherence/coherence-overlap-with-regions.rs
+++ b/tests/ui/coherence/coherence-overlap-with-regions.rs
@@ -1,4 +1,10 @@
-// check-pass
+// known-bug: unknown
+
+// This fails because we currently perform negative coherence in coherence mode.
+// This means that when looking for a negative predicate, we also assemble a
+// coherence-unknowable predicate. Since confirming the negative impl has region
+// obligations, we don't prefer the impl over the unknowable predicate
+// unconditionally and instead flounder.
#![feature(negative_impls)]
#![feature(rustc_attrs)]