Skip to content

Commit cfc480b

Browse files
committed
Update ui test suite to nightly-2023-08-10
1 parent 132fe1c commit cfc480b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/test-not-send.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ error[E0277]: `proc_macro::Span` cannot be sent between threads safely
55
| ^^^^ `proc_macro::Span` cannot be sent between threads safely
66
|
77
= help: within `Span`, the trait `Send` is not implemented for `proc_macro::Span`
8+
= note: consider using `std::sync::Arc<proc_macro::Span>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
89
note: required because it appears within the type `Span`
910
--> $WORKSPACE/src/wrapper.rs
1011
|
@@ -28,6 +29,7 @@ error[E0277]: `Rc<()>` cannot be sent between threads safely
2829
| ^^^^ `Rc<()>` cannot be sent between threads safely
2930
|
3031
= help: within `Span`, the trait `Send` is not implemented for `Rc<()>`
32+
= note: use `std::sync::Arc` instead of `std::rc::Rc`
3133
note: required because it appears within the type `ProcMacroAutoTraits`
3234
--> $WORKSPACE/src/marker.rs
3335
|

0 commit comments

Comments
 (0)