@@ -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>,
@@ -2113,7 +2111,6 @@ pub const FN_OUTPUT_NAME: Symbol = sym::Output;
2113
2111
#[derive(Debug, HashStable_Generic)]
2114
2112
pub struct TypeBinding<'hir> {
2115
2113
pub hir_id: HirId,
2116
- #[stable_hasher(project(name))]
2117
2114
pub ident: Ident,
2118
2115
pub gen_args: &'hir GenericArgs<'hir>,
2119
2116
pub kind: TypeBindingKind<'hir>,
@@ -2501,7 +2498,6 @@ pub struct EnumDef<'hir> {
2501
2498
#[derive(Debug, HashStable_Generic)]
2502
2499
pub struct Variant<'hir> {
2503
2500
/// Name of the variant.
2504
- #[stable_hasher(project(name))]
2505
2501
pub ident: Ident,
2506
2502
/// Id of the variant (not the constructor, see `VariantData::ctor_hir_id()`).
2507
2503
pub id: HirId,
@@ -2591,7 +2587,6 @@ impl VisibilityKind<'_> {
2591
2587
#[derive(Debug, HashStable_Generic)]
2592
2588
pub struct FieldDef<'hir> {
2593
2589
pub span: Span,
2594
- #[stable_hasher(project(name))]
2595
2590
pub ident: Ident,
2596
2591
pub vis: Visibility<'hir>,
2597
2592
pub hir_id: HirId,
@@ -2850,7 +2845,6 @@ impl ItemKind<'_> {
2850
2845
#[derive(Encodable, Debug, HashStable_Generic)]
2851
2846
pub struct TraitItemRef {
2852
2847
pub id: TraitItemId,
2853
- #[stable_hasher(project(name))]
2854
2848
pub ident: Ident,
2855
2849
pub kind: AssocItemKind,
2856
2850
pub span: Span,
@@ -2866,7 +2860,6 @@ pub struct TraitItemRef {
2866
2860
#[derive(Debug, HashStable_Generic)]
2867
2861
pub struct ImplItemRef {
2868
2862
pub id: ImplItemId,
2869
- #[stable_hasher(project(name))]
2870
2863
pub ident: Ident,
2871
2864
pub kind: AssocItemKind,
2872
2865
pub span: Span,
@@ -2905,7 +2898,6 @@ impl ForeignItemId {
2905
2898
#[derive(Debug, HashStable_Generic)]
2906
2899
pub struct ForeignItemRef {
2907
2900
pub id: ForeignItemId,
2908
- #[stable_hasher(project(name))]
2909
2901
pub ident: Ident,
2910
2902
pub span: Span,
2911
2903
}
0 commit comments