@@ -205,7 +205,6 @@ impl Path<'_> {
205
205
#[ derive( Debug , HashStable_Generic ) ]
206
206
pub struct PathSegment < ' hir > {
207
207
/// The identifier portion of this path segment.
208
- #[ stable_hasher( project( name) ) ]
209
208
pub ident : Ident ,
210
209
// `id` and `res` are optional. We currently only use these in save-analysis,
211
210
// any path segments without these will not have save-analysis info and
@@ -850,7 +849,6 @@ pub struct PatField<'hir> {
850
849
#[ stable_hasher( ignore) ]
851
850
pub hir_id : HirId ,
852
851
/// The identifier for the field.
853
- #[ stable_hasher( project( name) ) ]
854
852
pub ident : Ident ,
855
853
/// The pattern the field is destructured to.
856
854
pub pat : & ' hir Pat < ' hir > ,
@@ -2127,7 +2125,6 @@ pub const FN_OUTPUT_NAME: Symbol = sym::Output;
2127
2125
#[ derive( Debug , HashStable_Generic ) ]
2128
2126
pub struct TypeBinding < ' hir > {
2129
2127
pub hir_id : HirId ,
2130
- #[ stable_hasher( project( name) ) ]
2131
2128
pub ident : Ident ,
2132
2129
pub gen_args : & ' hir GenericArgs < ' hir > ,
2133
2130
pub kind : TypeBindingKind < ' hir > ,
@@ -2515,7 +2512,6 @@ pub struct EnumDef<'hir> {
2515
2512
#[ derive( Debug , HashStable_Generic ) ]
2516
2513
pub struct Variant < ' hir > {
2517
2514
/// Name of the variant.
2518
- #[ stable_hasher( project( name) ) ]
2519
2515
pub ident : Ident ,
2520
2516
/// Id of the variant (not the constructor, see `VariantData::ctor_hir_id()`).
2521
2517
pub id : HirId ,
@@ -2605,7 +2601,6 @@ impl VisibilityKind<'_> {
2605
2601
#[ derive( Debug , HashStable_Generic ) ]
2606
2602
pub struct FieldDef < ' hir > {
2607
2603
pub span : Span ,
2608
- #[ stable_hasher( project( name) ) ]
2609
2604
pub ident : Ident ,
2610
2605
pub vis : Visibility < ' hir > ,
2611
2606
pub hir_id : HirId ,
@@ -2864,7 +2859,6 @@ impl ItemKind<'_> {
2864
2859
#[ derive( Encodable , Debug , HashStable_Generic ) ]
2865
2860
pub struct TraitItemRef {
2866
2861
pub id : TraitItemId ,
2867
- #[ stable_hasher( project( name) ) ]
2868
2862
pub ident : Ident ,
2869
2863
pub kind : AssocItemKind ,
2870
2864
pub span : Span ,
@@ -2880,7 +2874,6 @@ pub struct TraitItemRef {
2880
2874
#[ derive( Debug , HashStable_Generic ) ]
2881
2875
pub struct ImplItemRef {
2882
2876
pub id : ImplItemId ,
2883
- #[ stable_hasher( project( name) ) ]
2884
2877
pub ident : Ident ,
2885
2878
pub kind : AssocItemKind ,
2886
2879
pub span : Span ,
@@ -2919,7 +2912,6 @@ impl ForeignItemId {
2919
2912
#[ derive( Debug , HashStable_Generic ) ]
2920
2913
pub struct ForeignItemRef {
2921
2914
pub id : ForeignItemId ,
2922
- #[ stable_hasher( project( name) ) ]
2923
2915
pub ident : Ident ,
2924
2916
pub span : Span ,
2925
2917
}
0 commit comments