mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 20:20:59 +03:00
experiment query caching
This commit is contained in:
@@ -2759,9 +2759,10 @@
|
||||
}
|
||||
|
||||
/// Returns a list of all `externally implementable items` crate.
|
||||
query externally_implementable_items(_: CrateNum) -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
|
||||
query externally_implementable_items(cnum: CrateNum) -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
|
||||
arena_cache
|
||||
desc { "looking up the externally implementable items of a crate" }
|
||||
cache_on_disk_if { *cnum == LOCAL_CRATE }
|
||||
separate_provide_extern
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user