parent_module_from_def_id does not need to be a query.
This commit is contained in:
parent
fbc11e9690
commit
7a51b30ebd
3 changed files with 15 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue