We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MetadataRef
1 parent 8006510 commit 2eef27aCopy full SHA for 2eef27a
compiler/rustc_data_structures/src/sync.rs
@@ -92,6 +92,9 @@ mod mode {
92
}
93
94
pub use mode::{is_dyn_thread_safe, set_dyn_thread_safe_mode};
95
+
96
+pub type MetadataRef = OwnedSlice;
97
98
cfg_if! {
99
if #[cfg(not(parallel_compiler))] {
100
pub unsafe auto trait Send {}
@@ -244,8 +247,6 @@ cfg_if! {
244
247
r
245
248
246
249
- pub type MetadataRef = OwnedSlice;
-
250
pub use std::rc::Rc as Lrc;
251
pub use std::rc::Weak as Weak;
252
pub use std::cell::Ref as ReadGuard;
@@ -517,8 +518,6 @@ cfg_if! {
517
518
519
520
521
522
/// This makes locks panic if they are already held.
523
/// It is only useful when you are running in a single thread
524
const ERROR_CHECKING: bool = false;
0 commit comments