File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ error[E0277]: `proc_macro::Span` cannot be sent between threads safely
5
5
| ^^^^ `proc_macro::Span` cannot be sent between threads safely
6
6
|
7
7
= 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>
8
9
note: required because it appears within the type `Span`
9
10
--> $WORKSPACE/src/wrapper.rs
10
11
|
@@ -28,6 +29,7 @@ error[E0277]: `Rc<()>` cannot be sent between threads safely
28
29
| ^^^^ `Rc<()>` cannot be sent between threads safely
29
30
|
30
31
= help: within `Span`, the trait `Send` is not implemented for `Rc<()>`
32
+ = note: use `std::sync::Arc` instead of `std::rc::Rc`
31
33
note: required because it appears within the type `ProcMacroAutoTraits`
32
34
--> $WORKSPACE/src/marker.rs
33
35
|
You can’t perform that action at this time.
0 commit comments