summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-negative-outlives-lifetimes.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/coherence/coherence-negative-outlives-lifetimes.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/coherence/coherence-negative-outlives-lifetimes.rs b/tests/ui/coherence/coherence-negative-outlives-lifetimes.rs
index 0e16d12a1..531977d6d 100644
--- a/tests/ui/coherence/coherence-negative-outlives-lifetimes.rs
+++ b/tests/ui/coherence/coherence-negative-outlives-lifetimes.rs
@@ -1,5 +1,9 @@
// revisions: stock with_negative_coherence
+
//[with_negative_coherence] known-bug: unknown
+// Ideally this would work, but we don't use `&'a T` to imply that `T: 'a`
+// which is required for `&'a T: !MyPredicate` to hold. This is similar to the
+// test `negative-coherence-placeholder-region-constraints-on-unification.explicit.stderr`
#![feature(negative_impls)]
#![cfg_attr(with_negative_coherence, feature(with_negative_coherence))]