Skip to content

Commit

Permalink
Rollup merge of #90685 - jyn514:remove-dead-code, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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 authored Nov 9, 2021
2 parents 2fff260 + 6192246 commit 21b0ce1
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 21b0ce1

Please sign in to comment.