Shrink the CrateStore dynamic interface.
This commit is contained in:
parent
a08f25a7ef
commit
3fba5a4844
9 changed files with 39 additions and 56 deletions
|
@ -213,6 +213,8 @@ rustc_queries! {
|
|||
}
|
||||
|
||||
query expn_that_defined(key: DefId) -> rustc_span::ExpnId {
|
||||
// This query reads from untracked data in definitions.
|
||||
eval_always
|
||||
desc { |tcx| "expansion that defined `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
|
@ -1446,6 +1448,7 @@ rustc_queries! {
|
|||
desc { "calculating the stability index for the local crate" }
|
||||
}
|
||||
query crates(_: ()) -> &'tcx [CrateNum] {
|
||||
eval_always
|
||||
desc { "fetching all foreign CrateNum instances" }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue