File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
compiler/rustc_data_structures/src Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,6 @@ cfg_if! {
166166
167167 pub type MetadataRef = OwningRef <Box <dyn Erased >, [ u8 ] >;
168168
169- pub use std:: rc:: Rc as Lrc ;
170- pub use std:: rc:: Weak as Weak ;
171169 pub use std:: cell:: Ref as ReadGuard ;
172170 pub use std:: cell:: Ref as MappedReadGuard ;
173171 pub use std:: cell:: RefMut as WriteGuard ;
@@ -264,9 +262,6 @@ cfg_if! {
264262
265263 pub use std:: sync:: atomic:: { AtomicBool , AtomicUsize , AtomicU32 , AtomicU64 } ;
266264
267- pub use std:: sync:: Arc as Lrc ;
268- pub use std:: sync:: Weak as Weak ;
269-
270265 pub type MTRef <' a, T > = & ' a T ;
271266
272267 #[ derive( Debug , Default ) ]
@@ -364,6 +359,8 @@ cfg_if! {
364359 }
365360}
366361
362+ pub use std:: sync:: Arc as Lrc ;
363+
367364pub fn assert_sync < T : ?Sized + Sync > ( ) { }
368365pub fn assert_send < T : ?Sized + Send > ( ) { }
369366pub fn assert_send_val < T : ?Sized + Send > ( _t : & T ) { }
You can’t perform that action at this time.
0 commit comments