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! {
166
166
167
167
pub type MetadataRef = OwningRef <Box <dyn Erased >, [ u8 ] >;
168
168
169
- pub use std:: rc:: Rc as Lrc ;
170
- pub use std:: rc:: Weak as Weak ;
171
169
pub use std:: cell:: Ref as ReadGuard ;
172
170
pub use std:: cell:: Ref as MappedReadGuard ;
173
171
pub use std:: cell:: RefMut as WriteGuard ;
@@ -264,9 +262,6 @@ cfg_if! {
264
262
265
263
pub use std:: sync:: atomic:: { AtomicBool , AtomicUsize , AtomicU32 , AtomicU64 } ;
266
264
267
- pub use std:: sync:: Arc as Lrc ;
268
- pub use std:: sync:: Weak as Weak ;
269
-
270
265
pub type MTRef <' a, T > = & ' a T ;
271
266
272
267
#[ derive( Debug , Default ) ]
@@ -364,6 +359,8 @@ cfg_if! {
364
359
}
365
360
}
366
361
362
+ pub use std:: sync:: Arc as Lrc ;
363
+
367
364
pub fn assert_sync < T : ?Sized + Sync > ( ) { }
368
365
pub fn assert_send < T : ?Sized + Send > ( ) { }
369
366
pub fn assert_send_val < T : ?Sized + Send > ( _t : & T ) { }
You can’t perform that action at this time.
0 commit comments