From cfc480b60a81c0baf1aacd2423b7f22f2d644d9f Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 9 Aug 2023 22:37:54 -0700 Subject: [PATCH] Update ui test suite to nightly-2023-08-10 --- tests/ui/test-not-send.stderr | 2 ++ 1 file changed, 2 insertions(+) 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 |