File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
error[E0277]: `proc_macro::Span` cannot be sent between threads safely
2
- --> test-not-send.rs:5:5
2
+ --> test-not-send.rs:5:21
3
3
|
4
4
5 | requires_send::<Span>();
5
- | ^^^^^^^^^^^^^^^^^ ^^^^ `proc_macro::Span` cannot be sent between threads safely
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
8
= note: required because it appears within the type `proc_macro2::imp::Span`
@@ -14,10 +14,10 @@ note: required by a bound in `requires_send`
14
14
| ^^^^ required by this bound in `requires_send`
15
15
16
16
error[E0277]: `Rc<()>` cannot be sent between threads safely
17
- --> test-not-send.rs:5:5
17
+ --> test-not-send.rs:5:21
18
18
|
19
19
5 | requires_send::<Span>();
20
- | ^^^^^^^^^^^^^^^^^ ^^^^ `Rc<()>` cannot be sent between threads safely
20
+ | ^^^^ `Rc<()>` cannot be sent between threads safely
21
21
|
22
22
= help: within `Span`, the trait `Send` is not implemented for `Rc<()>`
23
23
= note: required because it appears within the type `proc_macro2::marker::ProcMacroAutoTraits`
You can’t perform that action at this time.
0 commit comments