@@ -2,12 +2,12 @@ use rustc_data_structures::fingerprint::Fingerprint;
22use rustc_hir:: def_id:: { CrateNum , DefId , LOCAL_CRATE , LocalDefId , LocalModDefId , ModDefId } ;
33use rustc_hir:: definitions:: DefPathHash ;
44use rustc_hir:: { HirId , ItemLocalId , OwnerId } ;
5- use rustc_query_system:: dep_graph:: { DepContext , DepNode , DepNodeParams , FingerprintStyle } ;
5+ use rustc_query_system:: dep_graph:: { DepContext , DepNode , DepNodeKey , FingerprintStyle } ;
66
77use crate :: dep_graph:: DepNodeExt ;
88use crate :: ty:: TyCtxt ;
99
10- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for ( ) {
10+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for ( ) {
1111 #[ inline( always) ]
1212 fn fingerprint_style ( ) -> FingerprintStyle {
1313 FingerprintStyle :: Unit
@@ -24,7 +24,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for () {
2424 }
2525}
2626
27- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for DefId {
27+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for DefId {
2828 #[ inline( always) ]
2929 fn fingerprint_style ( ) -> FingerprintStyle {
3030 FingerprintStyle :: DefPathHash
@@ -46,7 +46,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for DefId {
4646 }
4747}
4848
49- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for LocalDefId {
49+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for LocalDefId {
5050 #[ inline( always) ]
5151 fn fingerprint_style ( ) -> FingerprintStyle {
5252 FingerprintStyle :: DefPathHash
@@ -68,7 +68,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for LocalDefId {
6868 }
6969}
7070
71- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for OwnerId {
71+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for OwnerId {
7272 #[ inline( always) ]
7373 fn fingerprint_style ( ) -> FingerprintStyle {
7474 FingerprintStyle :: DefPathHash
@@ -90,7 +90,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for OwnerId {
9090 }
9191}
9292
93- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for CrateNum {
93+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for CrateNum {
9494 #[ inline( always) ]
9595 fn fingerprint_style ( ) -> FingerprintStyle {
9696 FingerprintStyle :: DefPathHash
@@ -113,7 +113,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for CrateNum {
113113 }
114114}
115115
116- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for ( DefId , DefId ) {
116+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for ( DefId , DefId ) {
117117 #[ inline( always) ]
118118 fn fingerprint_style ( ) -> FingerprintStyle {
119119 FingerprintStyle :: Opaque
@@ -140,7 +140,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for (DefId, DefId) {
140140 }
141141}
142142
143- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for HirId {
143+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for HirId {
144144 #[ inline( always) ]
145145 fn fingerprint_style ( ) -> FingerprintStyle {
146146 FingerprintStyle :: HirId
@@ -183,7 +183,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for HirId {
183183 }
184184}
185185
186- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for ModDefId {
186+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for ModDefId {
187187 #[ inline( always) ]
188188 fn fingerprint_style ( ) -> FingerprintStyle {
189189 FingerprintStyle :: DefPathHash
@@ -205,7 +205,7 @@ impl<'tcx> DepNodeParams<TyCtxt<'tcx>> for ModDefId {
205205 }
206206}
207207
208- impl < ' tcx > DepNodeParams < TyCtxt < ' tcx > > for LocalModDefId {
208+ impl < ' tcx > DepNodeKey < TyCtxt < ' tcx > > for LocalModDefId {
209209 #[ inline( always) ]
210210 fn fingerprint_style ( ) -> FingerprintStyle {
211211 FingerprintStyle :: DefPathHash
0 commit comments