about summary refs log tree commit diff
path: root/tests/ui/traits/inductive-overflow/lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/inductive-overflow/lifetime.rs')
-rw-r--r--tests/ui/traits/inductive-overflow/lifetime.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/traits/inductive-overflow/lifetime.rs b/tests/ui/traits/inductive-overflow/lifetime.rs
index 004e477374a..bf536d21cf9 100644
--- a/tests/ui/traits/inductive-overflow/lifetime.rs
+++ b/tests/ui/traits/inductive-overflow/lifetime.rs
@@ -16,6 +16,7 @@ struct C<'a>(&'a ());
 struct X<T: Y>(T::P);
 
 impl<T: NotAuto> NotAuto for Box<T> {} //~ NOTE: required
+//~^ NOTE unsatisfied trait bound introduced here
 impl<T: Y> NotAuto for X<T> where T::P: NotAuto {}
 impl<'a> NotAuto for C<'a> {}