1
Fork 0

Auto merge of #86749 - bjorn3:link_info_refactor_part1, r=petrochenkov

Rename all_crate_nums query to crates and remove useless wrapper

Split out of https://github.com/rust-lang/rust/pull/86105

r? `@petrochenkov`
This commit is contained in:
bors 2021-07-01 19:00:08 +00:00
commit 7100b311df
21 changed files with 27 additions and 31 deletions

View file

@ -789,7 +789,7 @@ impl CrateInfo {
};
let lang_items = tcx.lang_items();
let crates = tcx.crates();
let crates = tcx.crates(());
let n_crates = crates.len();
info.native_libraries.reserve(n_crates);