Skip to content

Commit d092dc9

Browse files
committed
remove few from bootstrap too
1 parent 2ddbe39 commit d092dc9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/bootstrap/src/core/build_steps/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ enum EditorKind {
531531

532532
impl EditorKind {
533533
// Used in `./tests.rs`.
534-
#[allow(dead_code)]
534+
#[cfg(test)]
535535
pub const ALL: &[EditorKind] = &[
536536
EditorKind::Emacs,
537537
EditorKind::Helix,

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)