Rollup merge of #142868 - klensy:dc, r=oli-obk
remove few allow(dead_code) Few from serial/parallel compiler leftovers and few from bootstrap.
This commit is contained in:
commit
f1fa46d3ba
4 changed files with 1 additions and 6 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@ enum EditorKind {
|
|||
|
||||
impl EditorKind {
|
||||
// Used in `./tests.rs`.
|
||||
#[allow(dead_code)]
|
||||
#[cfg(test)]
|
||||
pub const ALL: &[EditorKind] = &[
|
||||
EditorKind::Emacs,
|
||||
EditorKind::Helix,
|
||||
|
|
|
|||
|
|
@ -390,7 +390,6 @@ macro_rules! bootstrap_tool {
|
|||
;
|
||||
)+) => {
|
||||
#[derive(PartialEq, Eq, Clone)]
|
||||
#[allow(dead_code)]
|
||||
pub enum Tool {
|
||||
$(
|
||||
$name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue