Rollup merge of #88677 - petrochenkov:exportid, r=davidtwco
rustc: Remove local variable IDs from `Export`s Local variables can never be exported.
This commit is contained in:
commit
bb5ca58d29
19 changed files with 71 additions and 68 deletions
|
@ -1189,7 +1189,7 @@ rustc_queries! {
|
|||
desc { "traits in scope at a block" }
|
||||
}
|
||||
|
||||
query module_exports(def_id: LocalDefId) -> Option<&'tcx [Export<LocalDefId>]> {
|
||||
query module_exports(def_id: LocalDefId) -> Option<&'tcx [Export]> {
|
||||
desc { |tcx| "looking up items exported by `{}`", tcx.def_path_str(def_id.to_def_id()) }
|
||||
}
|
||||
|
||||
|
@ -1401,7 +1401,7 @@ rustc_queries! {
|
|||
eval_always
|
||||
desc { "fetching what a crate is named" }
|
||||
}
|
||||
query item_children(def_id: DefId) -> &'tcx [Export<hir::HirId>] {
|
||||
query item_children(def_id: DefId) -> &'tcx [Export] {
|
||||
desc { |tcx| "collecting child items of `{}`", tcx.def_path_str(def_id) }
|
||||
}
|
||||
query extern_mod_stmt_cnum(def_id: LocalDefId) -> Option<CrateNum> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue