diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-22 17:35:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 17:35:36 +0200 |
| commit | f1fa46d3ba5322cc49c0eadf4afb0844998ca7db (patch) | |
| tree | 849d20a3e555a047c6962f393c3927988465d0af /compiler/rustc_data_structures | |
| parent | 0f89e61c4dd4f274029673d2963465cbf73d58c2 (diff) | |
| parent | d092dc9381bd6f09017c4b09777df4537999b952 (diff) | |
| download | rust-f1fa46d3ba5322cc49c0eadf4afb0844998ca7db.tar.gz rust-f1fa46d3ba5322cc49c0eadf4afb0844998ca7db.zip | |
Rollup merge of #142868 - klensy:dc, r=oli-obk
remove few allow(dead_code) Few from serial/parallel compiler leftovers and few from bootstrap.
Diffstat (limited to 'compiler/rustc_data_structures')
| -rw-r--r-- | compiler/rustc_data_structures/src/sync/lock.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_data_structures/src/sync/parallel.rs | 2 |
2 files changed, 0 insertions, 4 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)] diff --git a/compiler/rustc_data_structures/src/sync/parallel.rs b/compiler/rustc_data_structures/src/sync/parallel.rs index ff4b60a1031..b515c0bee8a 100644 --- a/compiler/rustc_data_structures/src/sync/parallel.rs +++ b/compiler/rustc_data_structures/src/sync/parallel.rs @@ -1,8 +1,6 @@ //! This module defines parallel operations that are implemented in //! one way for the serial compiler, and another way the parallel compiler. -#![allow(dead_code)] - use std::any::Any; use std::panic::{AssertUnwindSafe, catch_unwind, resume_unwind}; |
