From bc3a84a7f33d8652cbf53c0877731265e3ecc1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Wed, 13 Mar 2019 00:08:36 +0100 Subject: [PATCH] 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 14e39748eb087..88ab58d10fc34 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,