Skip to content

Commit 918b5c3

Browse files
committed
remove unused pred_rcache
1 parent a18bd8a commit 918b5c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_middle/src/ty/context.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,6 @@ pub struct GlobalCtxt<'tcx> {
13701370

13711371
// Internal caches for metadata decoding. No need to track deps on this.
13721372
pub ty_rcache: Lock<FxHashMap<ty::CReaderCacheKey, Ty<'tcx>>>,
1373-
pub pred_rcache: Lock<FxHashMap<ty::CReaderCacheKey, Predicate<'tcx>>>,
13741373

13751374
/// Caches the results of trait selection. This cache is used
13761375
/// for things that do not have to do with the parameters in scope.
@@ -1601,7 +1600,6 @@ impl<'tcx> TyCtxt<'tcx> {
16011600
query_system,
16021601
query_kinds,
16031602
ty_rcache: Default::default(),
1604-
pred_rcache: Default::default(),
16051603
selection_cache: Default::default(),
16061604
evaluation_cache: Default::default(),
16071605
new_solver_evaluation_cache: Default::default(),

0 commit comments

Comments
 (0)