summaryrefslogtreecommitdiffstats
path: root/tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs')
-rw-r--r--tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs b/tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs
index 62aa22d41..b9f1de7ec 100644
--- a/tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs
+++ b/tests/ui/marker_trait_attr/overlap-marker-trait-with-static-lifetime.rs
@@ -1,4 +1,8 @@
-// check-pass
+// known-bug: #89515
+//
+// The trait solver cannot deal with ambiguous marker trait impls
+// if there are lifetimes involved. As we must not special-case any
+// regions this does not work, even with 'static
#![feature(marker_trait_attr)]
#[marker]