Skip to content

Commit 2ddbe39

Browse files
committed
remove allow(dead_code) leftovers from serial/parallel compiler
1 parent 3b97f13 commit 2ddbe39

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

compiler/rustc_data_structures/src/sync/lock.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
//! This module implements a lock which only uses synchronization if `might_be_dyn_thread_safe` is true.
22
//! It implements `DynSend` and `DynSync` instead of the typical `Send` and `Sync` traits.
33
4-
#![allow(dead_code)]
5-
64
use std::fmt;
75

86
#[derive(Clone, Copy, PartialEq)]

compiler/rustc_data_structures/src/sync/parallel.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
//! This module defines parallel operations that are implemented in
22
//! one way for the serial compiler, and another way the parallel compiler.
33
4-
#![allow(dead_code)]
5-
64
use std::any::Any;
75
use std::panic::{AssertUnwindSafe, catch_unwind, resume_unwind};
86

0 commit comments

Comments
 (0)