about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync/lock.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2025-06-22 13:05:09 +0300
committerklensy <klensy@users.noreply.github.com>2025-06-22 13:05:09 +0300
commit2ddbe39bfb2fd906ade40d622c0135c3d4bfbad0 (patch)
tree2bf23664e91e061e2e622c160677876360e04229 /compiler/rustc_data_structures/src/sync/lock.rs
parent3b97f1308ff72016a4aaa93fbe6d09d4d6427815 (diff)
downloadrust-2ddbe39bfb2fd906ade40d622c0135c3d4bfbad0.tar.gz
rust-2ddbe39bfb2fd906ade40d622c0135c3d4bfbad0.zip
remove allow(dead_code) leftovers from serial/parallel compiler
Diffstat (limited to 'compiler/rustc_data_structures/src/sync/lock.rs')
-rw-r--r--compiler/rustc_data_structures/src/sync/lock.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/sync/lock.rs b/compiler/rustc_data_structures/src/sync/lock.rs
index 2ccf06ccd4f..a8161c51511 100644
--- a/compiler/rustc_data_structures/src/sync/lock.rs
+++ b/compiler/rustc_data_structures/src/sync/lock.rs
@@ -1,8 +1,6 @@
 //! This module implements a lock which only uses synchronization if `might_be_dyn_thread_safe` is true.
 //! It implements `DynSend` and `DynSync` instead of the typical `Send` and `Sync` traits.
 
-#![allow(dead_code)]
-
 use std::fmt;
 
 #[derive(Clone, Copy, PartialEq)]