summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs')
-rw-r--r--tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs b/tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs
index 24b878927..76a57936e 100644
--- a/tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs
+++ b/tests/ui/coherence/coherence-conflicting-negative-trait-impl.rs
@@ -13,5 +13,7 @@ impl<T: MyTrait> !Send for TestType<T> {} //~ ERROR found both positive and nega
unsafe impl<T: 'static> Send for TestType<T> {} //~ ERROR conflicting implementations
impl !Send for TestType<i32> {}
+//~^ WARNING
+//~| WARNING this will change its meaning
fn main() {}