File tree Expand file tree Collapse file tree 4 files changed +1
-6
lines changed
compiler/rustc_data_structures/src/sync
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 4 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 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-
64use std:: fmt;
75
86#[ derive( Clone , Copy , PartialEq ) ]
Original file line number Diff line number Diff line change 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-
64use std:: any:: Any ;
75use std:: panic:: { AssertUnwindSafe , catch_unwind, resume_unwind} ;
86
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ enum EditorKind {
531531
532532impl EditorKind {
533533 // Used in `./tests.rs`.
534- #[ allow ( dead_code ) ]
534+ #[ cfg ( test ) ]
535535 pub const ALL : & [ EditorKind ] = & [
536536 EditorKind :: Emacs ,
537537 EditorKind :: Helix ,
Original file line number Diff line number Diff line change @@ -390,7 +390,6 @@ macro_rules! bootstrap_tool {
390390 ;
391391 ) +) => {
392392 #[ derive( PartialEq , Eq , Clone ) ]
393- #[ allow( dead_code) ]
394393 pub enum Tool {
395394 $(
396395 $name,
You can’t perform that action at this time.
0 commit comments