parent_module_from_def_id does not need to be a query.

This commit is contained in:
Camille GILLOT 2023-08-05 12:18:12 +00:00
parent fbc11e9690
commit 7a51b30ebd
3 changed files with 15 additions and 21 deletions

View file

@ -398,11 +398,6 @@ rustc_queries! {
desc { "computing `#[expect]`ed lints in this crate" }
}
query parent_module_from_def_id(key: LocalDefId) -> LocalDefId {
eval_always
desc { |tcx| "getting the parent module of `{}`", tcx.def_path_str(key) }
}
query expn_that_defined(key: DefId) -> rustc_span::ExpnId {
desc { |tcx| "getting the expansion that defined `{}`", tcx.def_path_str(key) }
separate_provide_extern