File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ mod value {
12
12
pub ( crate ) use core:: marker:: PhantomData as Marker ;
13
13
}
14
14
15
- pub ( crate ) struct ProcMacroAutoTraits ( #[ allow( dead_code) ] Rc < ( ) > ) ;
15
+ pub ( crate ) struct ProcMacroAutoTraits (
16
+ #[ allow( dead_code) ] // https://github.com/rust-lang/rust/issues/119645
17
+ Rc < ( ) > ,
18
+ ) ;
16
19
17
20
impl UnwindSafe for ProcMacroAutoTraits { }
18
21
impl RefUnwindSafe for ProcMacroAutoTraits { }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ error[E0277]: `Rc<()>` cannot be sent between threads safely
31
31
note: required because it appears within the type `proc_macro2::marker::ProcMacroAutoTraits`
32
32
--> $WORKSPACE/src/marker.rs
33
33
|
34
- | pub(crate) struct ProcMacroAutoTraits(#[allow(dead_code)] Rc<()>);
34
+ | pub(crate) struct ProcMacroAutoTraits(
35
35
| ^^^^^^^^^^^^^^^^^^^
36
36
note: required because it appears within the type `PhantomData<proc_macro2::marker::ProcMacroAutoTraits>`
37
37
--> $RUST/core/src/marker.rs
You can’t perform that action at this time.
0 commit comments