commit
64411a4ea3
@ -214,7 +214,7 @@ fn insert_use_with_alias_option(
|
||||
};
|
||||
}
|
||||
|
||||
let mut use_tree = make::use_tree(path.clone(), None, alias, false);
|
||||
let mut use_tree = make::use_tree(path, None, alias, false);
|
||||
if mb == Some(MergeBehavior::One) && use_tree.path().is_some() {
|
||||
use_tree = use_tree.clone_for_update();
|
||||
use_tree.wrap_in_tree_list();
|
||||
|
@ -1455,7 +1455,7 @@ fn sysroot_to_crate_graph(
|
||||
(SysrootPublicDeps { deps: pub_deps }, libproc_macro)
|
||||
}
|
||||
SysrootMode::Stitched(stitched) => {
|
||||
let cfg_options = create_cfg_options(rustc_cfg.clone());
|
||||
let cfg_options = create_cfg_options(rustc_cfg);
|
||||
let sysroot_crates: FxHashMap<SysrootCrate, CrateId> = stitched
|
||||
.crates()
|
||||
.filter_map(|krate| {
|
||||
|
Loading…
Reference in New Issue
Block a user