remove unused pred_rcache

This commit is contained in:
klensy 2025-02-21 15:06:26 +03:00
parent a18bd8acfc
commit 918b5c391f

View File

@ -1370,7 +1370,6 @@ pub struct GlobalCtxt<'tcx> {
// Internal caches for metadata decoding. No need to track deps on this. // Internal caches for metadata decoding. No need to track deps on this.
pub ty_rcache: Lock<FxHashMap<ty::CReaderCacheKey, Ty<'tcx>>>, pub ty_rcache: Lock<FxHashMap<ty::CReaderCacheKey, Ty<'tcx>>>,
pub pred_rcache: Lock<FxHashMap<ty::CReaderCacheKey, Predicate<'tcx>>>,
/// Caches the results of trait selection. This cache is used /// Caches the results of trait selection. This cache is used
/// for things that do not have to do with the parameters in scope. /// for things that do not have to do with the parameters in scope.
@ -1601,7 +1600,6 @@ impl<'tcx> TyCtxt<'tcx> {
query_system, query_system,
query_kinds, query_kinds,
ty_rcache: Default::default(), ty_rcache: Default::default(),
pred_rcache: Default::default(),
selection_cache: Default::default(), selection_cache: Default::default(),
evaluation_cache: Default::default(), evaluation_cache: Default::default(),
new_solver_evaluation_cache: Default::default(), new_solver_evaluation_cache: Default::default(),