We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b97f13 commit 2ddbe39Copy full SHA for 2ddbe39
compiler/rustc_data_structures/src/sync/lock.rs
@@ -1,8 +1,6 @@
1
//! This module implements a lock which only uses synchronization if `might_be_dyn_thread_safe` is true.
2
//! It implements `DynSend` and `DynSync` instead of the typical `Send` and `Sync` traits.
3
4
-#![allow(dead_code)]
5
-
6
use std::fmt;
7
8
#[derive(Clone, Copy, PartialEq)]
compiler/rustc_data_structures/src/sync/parallel.rs
//! This module defines parallel operations that are implemented in
//! one way for the serial compiler, and another way the parallel compiler.
use std::any::Any;
use std::panic::{AssertUnwindSafe, catch_unwind, resume_unwind};
0 commit comments