diff --git a/tests/ui/test-not-send.stderr b/tests/ui/test-not-send.stderr index c720f378..b067e570 100644 --- a/tests/ui/test-not-send.stderr +++ b/tests/ui/test-not-send.stderr @@ -5,6 +5,7 @@ error[E0277]: `proc_macro::Span` cannot be sent between threads safely | ^^^^ `proc_macro::Span` cannot be sent between threads safely | = help: within `Span`, the trait `Send` is not implemented for `proc_macro::Span` + = note: consider using `std::sync::Arc`; for more information visit note: required because it appears within the type `Span` --> $WORKSPACE/src/wrapper.rs | @@ -28,6 +29,7 @@ error[E0277]: `Rc<()>` cannot be sent between threads safely | ^^^^ `Rc<()>` cannot be sent between threads safely | = help: within `Span`, the trait `Send` is not implemented for `Rc<()>` + = note: use `std::sync::Arc` instead of `std::rc::Rc` note: required because it appears within the type `ProcMacroAutoTraits` --> $WORKSPACE/src/marker.rs |