Skip to content

Commit

Permalink
Rollup merge of rust-lang#90685 - jyn514:remove-dead-code, r=Mark-Sim…
Browse files Browse the repository at this point in the history
…ulacrum

x.py: remove fixme by deleting code

As far as I can tell, this parameter was never used, so just delete it
as unnecessary.
  • Loading branch information
matthiaskrgr committed Nov 9, 2021
2 parents 58a1e9e + 6192246 commit 03299c5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/bootstrap/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ macro_rules! bootstrap_tool {
$name:ident, $path:expr, $tool_name:expr
$(,is_external_tool = $external:expr)*
$(,is_unstable_tool = $unstable:expr)*
$(,features = $features:expr)*
;
)+) => {
#[derive(Copy, PartialEq, Eq, Clone)]
Expand Down Expand Up @@ -349,12 +348,7 @@ macro_rules! bootstrap_tool {
} else {
SourceType::InTree
},
extra_features: {
// FIXME(#60643): avoid this lint by using `_`
let mut _tmp = Vec::new();
$(_tmp.extend($features);)*
_tmp
},
extra_features: vec![],
}).expect("expected to build -- essential tool")
}
}
Expand Down

0 comments on commit 03299c5

Please sign in to comment.