File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 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
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>
89note: 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`
3133note: required because it appears within the type `ProcMacroAutoTraits`
3234 --> $WORKSPACE/src/marker.rs
3335 |
You can’t perform that action at this time.
0 commit comments