From bc3a84a7f33d8652cbf53c0877731265e3ecc1bc Mon Sep 17 00:00:00 2001 From: John Kåre Alsaker Date: Wed, 13 Mar 2019 00:08:36 +0100 Subject: Add missing project attributes --- src/librustc/hir/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustc/hir/mod.rs b/src/librustc/hir/mod.rs index 14e39748eb0..88ab58d10fc 100644 --- a/src/librustc/hir/mod.rs +++ b/src/librustc/hir/mod.rs @@ -2039,6 +2039,7 @@ pub struct EnumDef { #[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)] pub struct VariantKind { + #[stable_hasher(project(name))] pub ident: Ident, pub attrs: HirVec, pub data: VariantData, @@ -2383,6 +2384,7 @@ pub enum AssociatedItemKind { #[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)] pub struct ForeignItem { + #[stable_hasher(project(name))] pub ident: Ident, pub attrs: HirVec, pub node: ForeignItemKind, -- cgit 1.4.1-3-g733a5