diff --git a/tests/ui/test-not-send.stderr b/tests/ui/test-not-send.stderr index ac8db47..f937c6f 100644 --- a/tests/ui/test-not-send.stderr +++ b/tests/ui/test-not-send.stderr @@ -4,7 +4,7 @@ error[E0277]: `proc_macro::Span` cannot be sent between threads safely 5 | requires_send::(); | ^^^^ `proc_macro::Span` cannot be sent between threads safely | - = help: within `Span`, the trait `Send` is not implemented for `proc_macro::Span` + = help: within `Span`, the trait `Send` is not implemented for `proc_macro::Span`, which is required by `Span: Send` note: required because it appears within the type `proc_macro2::imp::Span` --> $WORKSPACE/src/wrapper.rs | @@ -27,7 +27,7 @@ error[E0277]: `Rc<()>` cannot be sent between threads safely 5 | requires_send::(); | ^^^^ `Rc<()>` cannot be sent between threads safely | - = help: within `Span`, the trait `Send` is not implemented for `Rc<()>` + = help: within `Span`, the trait `Send` is not implemented for `Rc<()>`, which is required by `Span: Send` note: required because it appears within the type `PhantomData>` --> $RUST/core/src/marker.rs |