@@ -26,13 +26,15 @@ fn send<T: Send>(_: T) {}
2626fn main ( ) {
2727 send ( before ( ) ) ;
2828 //~^ ERROR the trait bound `std::rc::Rc<std::cell::Cell<i32>>: std::marker::Send` is not satisfied
29+ //~| NOTE trait `std::rc::Rc<std::cell::Cell<i32>>: std::marker::Send` not satisfied
2930 //~| NOTE `std::rc::Rc<std::cell::Cell<i32>>` cannot be sent between threads safely
3031 //~| NOTE required because it appears within the type `[closure
3132 //~| NOTE required because it appears within the type `impl std::ops::Fn<(i32,)>`
3233 //~| NOTE required by `send`
3334
3435 send ( after ( ) ) ;
3536 //~^ ERROR the trait bound `std::rc::Rc<std::cell::Cell<i32>>: std::marker::Send` is not satisfied
37+ //~| NOTE trait `std::rc::Rc<std::cell::Cell<i32>>: std::marker::Send` not satisfied
3638 //~| NOTE `std::rc::Rc<std::cell::Cell<i32>>` cannot be sent between threads safely
3739 //~| NOTE required because it appears within the type `[closure
3840 //~| NOTE required because it appears within the type `impl std::ops::Fn<(i32,)>`
@@ -52,6 +54,7 @@ fn after() -> impl Fn(i32) {
5254fn cycle1 ( ) -> impl Clone {
5355 send ( cycle2 ( ) . clone ( ) ) ;
5456 //~^ ERROR the trait bound `std::rc::Rc<std::string::String>: std::marker::Send` is not satisfied
57+ //~| NOTE trait `std::rc::Rc<std::string::String>: std::marker::Send` not satisfied
5558 //~| NOTE `std::rc::Rc<std::string::String>` cannot be sent between threads safely
5659 //~| NOTE required because it appears within the type `impl std::clone::Clone`
5760 //~| NOTE required by `send`
@@ -62,6 +65,7 @@ fn cycle1() -> impl Clone {
6265fn cycle2 ( ) -> impl Clone {
6366 send ( cycle1 ( ) . clone ( ) ) ;
6467 //~^ ERROR the trait bound `std::rc::Rc<std::cell::Cell<i32>>: std::marker::Send` is not satisfied
68+ //~| NOTE trait `std::rc::Rc<std::cell::Cell<i32>>: std::marker::Send` not satisfied
6569 //~| NOTE `std::rc::Rc<std::cell::Cell<i32>>` cannot be sent between threads safely
6670 //~| NOTE required because it appears within the type `impl std::clone::Clone`
6771 //~| NOTE required by `send`
0 commit comments