@@ -171,7 +171,7 @@ impl_stable_hash_for!(struct hir::Path {
171
171
} ) ;
172
172
173
173
impl_stable_hash_for ! ( struct hir:: PathSegment {
174
- ident,
174
+ ident -> ( ident . name ) ,
175
175
infer_types,
176
176
args
177
177
} ) ;
@@ -276,7 +276,7 @@ impl_stable_hash_for!(struct hir::MethodSig {
276
276
277
277
impl_stable_hash_for ! ( struct hir:: TypeBinding {
278
278
id,
279
- ident,
279
+ ident -> ( ident . name ) ,
280
280
ty,
281
281
span
282
282
} ) ;
@@ -406,7 +406,7 @@ impl_stable_hash_for_spanned!(hir::FieldPat);
406
406
407
407
impl_stable_hash_for ! ( struct hir:: FieldPat {
408
408
id -> _,
409
- ident,
409
+ ident -> ( ident . name ) ,
410
410
pat,
411
411
is_shorthand,
412
412
} ) ;
@@ -650,7 +650,7 @@ impl<'a> HashStable<StableHashingContext<'a>> for hir::TraitItem {
650
650
} = * self ;
651
651
652
652
hcx. hash_hir_item_like ( |hcx| {
653
- ident. hash_stable ( hcx, hasher) ;
653
+ ident. name . hash_stable ( hcx, hasher) ;
654
654
attrs. hash_stable ( hcx, hasher) ;
655
655
generics. hash_stable ( hcx, hasher) ;
656
656
node. hash_stable ( hcx, hasher) ;
@@ -687,7 +687,7 @@ impl<'a> HashStable<StableHashingContext<'a>> for hir::ImplItem {
687
687
} = * self ;
688
688
689
689
hcx. hash_hir_item_like ( |hcx| {
690
- ident. hash_stable ( hcx, hasher) ;
690
+ ident. name . hash_stable ( hcx, hasher) ;
691
691
vis. hash_stable ( hcx, hasher) ;
692
692
defaultness. hash_stable ( hcx, hasher) ;
693
693
attrs. hash_stable ( hcx, hasher) ;
@@ -787,7 +787,7 @@ impl_stable_hash_for!(enum hir::UseKind {
787
787
788
788
impl_stable_hash_for ! ( struct hir:: StructField {
789
789
span,
790
- ident,
790
+ ident -> ( ident . name ) ,
791
791
vis,
792
792
id,
793
793
ty,
@@ -845,15 +845,15 @@ impl_stable_hash_for!(enum hir::Item_ {
845
845
846
846
impl_stable_hash_for ! ( struct hir:: TraitItemRef {
847
847
id,
848
- ident,
848
+ ident -> ( ident . name ) ,
849
849
kind,
850
850
span,
851
851
defaultness
852
852
} ) ;
853
853
854
854
impl_stable_hash_for ! ( struct hir:: ImplItemRef {
855
855
id,
856
- ident,
856
+ ident -> ( ident . name ) ,
857
857
kind,
858
858
span,
859
859
vis,
0 commit comments