File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
compiler/rustc_data_structures/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,9 @@ mod mode {
92
92
}
93
93
94
94
pub use mode:: { is_dyn_thread_safe, set_dyn_thread_safe_mode} ;
95
+
96
+ pub type MetadataRef = OwnedSlice ;
97
+
95
98
cfg_if ! {
96
99
if #[ cfg( not( parallel_compiler) ) ] {
97
100
pub unsafe auto trait Send { }
@@ -244,8 +247,6 @@ cfg_if! {
244
247
r
245
248
}
246
249
247
- pub type MetadataRef = OwnedSlice ;
248
-
249
250
pub use std:: rc:: Rc as Lrc ;
250
251
pub use std:: rc:: Weak as Weak ;
251
252
pub use std:: cell:: Ref as ReadGuard ;
@@ -517,8 +518,6 @@ cfg_if! {
517
518
}
518
519
}
519
520
520
- pub type MetadataRef = OwnedSlice ;
521
-
522
521
/// This makes locks panic if they are already held.
523
522
/// It is only useful when you are running in a single thread
524
523
const ERROR_CHECKING : bool = false ;
You can’t perform that action at this time.
0 commit comments