Move Sharded maps into each QueryCache impl
This commit is contained in:
parent
3b348d932a
commit
9deed6f74e
8 changed files with 53 additions and 122 deletions
|
@ -337,7 +337,7 @@ macro_rules! define_queries {
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn query_cache<'a>(tcx: QueryCtxt<$tcx>) -> &'a QueryCacheStore<Self::Cache>
|
||||
fn query_cache<'a>(tcx: QueryCtxt<$tcx>) -> &'a Self::Cache
|
||||
where 'tcx:'a
|
||||
{
|
||||
&tcx.query_caches.$name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue