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 {
9292}
9393
9494pub use mode:: { is_dyn_thread_safe, set_dyn_thread_safe_mode} ;
95+
96+ pub type MetadataRef = OwnedSlice ;
97+
9598cfg_if ! {
9699 if #[ cfg( not( parallel_compiler) ) ] {
97100 pub unsafe auto trait Send { }
@@ -244,8 +247,6 @@ cfg_if! {
244247 r
245248 }
246249
247- pub type MetadataRef = OwnedSlice ;
248-
249250 pub use std:: rc:: Rc as Lrc ;
250251 pub use std:: rc:: Weak as Weak ;
251252 pub use std:: cell:: Ref as ReadGuard ;
@@ -517,8 +518,6 @@ cfg_if! {
517518 }
518519 }
519520
520- pub type MetadataRef = OwnedSlice ;
521-
522521 /// This makes locks panic if they are already held.
523522 /// It is only useful when you are running in a single thread
524523 const ERROR_CHECKING : bool = false ;
You can’t perform that action at this time.
0 commit comments