about summary refs log tree commit diff
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 24b87892753..76a57936e69 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() {}