1111#![ warn( unreachable_pub) ]
1212// tidy-alphabetical-end
1313
14- use field_offset:: offset_of;
1514use rustc_data_structures:: stable_hasher:: HashStable ;
1615use rustc_data_structures:: sync:: AtomicU64 ;
1716use rustc_middle:: arena:: Arena ;
@@ -20,8 +19,7 @@ use rustc_middle::query::erase::{Erase, erase, restore};
2019use rustc_middle:: query:: on_disk_cache:: { CacheEncoder , EncodedDepNodeIndex , OnDiskCache } ;
2120use rustc_middle:: query:: plumbing:: { DynamicQuery , QuerySystem , QuerySystemFns } ;
2221use rustc_middle:: query:: {
23- AsLocalKey , DynamicQueries , ExternProviders , Providers , QueryCaches , QueryEngine , QueryStates ,
24- queries,
22+ AsLocalKey , DynamicQueries , ExternProviders , Providers , QueryEngine , queries,
2523} ;
2624use rustc_middle:: ty:: TyCtxt ;
2725use rustc_query_system:: dep_graph:: SerializedDepNodeIndex ;
@@ -89,15 +87,15 @@ where
8987 where
9088 QueryCtxt < ' tcx > : ' a ,
9189 {
92- self . dynamic . query_state . apply ( & qcx. tcx . query_system . states )
90+ ( self . dynamic . query_state ) ( & qcx. tcx . query_system . states )
9391 }
9492
9593 #[ inline( always) ]
9694 fn query_cache < ' a > ( self , qcx : QueryCtxt < ' tcx > ) -> & ' a Self :: Cache
9795 where
9896 ' tcx : ' a ,
9997 {
100- self . dynamic . query_cache . apply ( & qcx. tcx . query_system . caches )
98+ ( self . dynamic . query_cache ) ( & qcx. tcx . query_system . caches )
10199 }
102100
103101 #[ inline( always) ]
0 commit comments