File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,8 @@ compile_error! {"\
118118 build script as well.
119119" }
120120
121+ extern crate alloc;
122+
121123#[ cfg( feature = "proc-macro" ) ]
122124extern crate proc_macro;
123125
Original file line number Diff line number Diff line change 1+ use alloc:: rc:: Rc ;
12use core:: marker:: PhantomData ;
2- use std:: panic:: { RefUnwindSafe , UnwindSafe } ;
3- use std:: rc:: Rc ;
3+ use core:: panic:: { RefUnwindSafe , UnwindSafe } ;
44
55// Zero sized marker with the correct set of autotrait impls we want all proc
66// macro types to have.
Original file line number Diff line number Diff line change 1+ use alloc:: rc:: Rc ;
2+ use alloc:: vec;
13use core:: mem;
4+ use core:: panic:: RefUnwindSafe ;
25use core:: slice;
3- use std:: panic:: RefUnwindSafe ;
4- use std:: rc:: Rc ;
5- use std:: vec;
66
77pub ( crate ) struct RcVec < T > {
88 inner : Rc < Vec < T > > ,
You can’t perform that action at this time.
0 commit comments