rustc_metadata: Rename item_children(_untracked) to module_children(_untracked)

And `each_child_of_item` to `for_each_module_child`
This commit is contained in:
Vadim Petrochenkov
2021-12-23 16:12:34 +08:00
parent 96c6a50e96
commit 3051f6e9c4
14 changed files with 27 additions and 22 deletions

View File

@@ -1528,7 +1528,7 @@ rustc_queries! {
desc { "fetching what a crate is named" }
separate_provide_extern
}
query item_children(def_id: DefId) -> &'tcx [Export] {
query module_children(def_id: DefId) -> &'tcx [Export] {
desc { |tcx| "collecting child items of `{}`", tcx.def_path_str(def_id) }
separate_provide_extern
}