diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-03-13 00:08:36 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-03-13 00:08:36 +0100 |
| commit | bc3a84a7f33d8652cbf53c0877731265e3ecc1bc (patch) | |
| tree | 2b2d2ab3ce7970cdbc6643e9335b7f9fc8d5ff10 | |
| parent | 3936aff2169a1f61633de2bc475face3a2682efb (diff) | |
| download | rust-bc3a84a7f33d8652cbf53c0877731265e3ecc1bc.tar.gz rust-bc3a84a7f33d8652cbf53c0877731265e3ecc1bc.zip | |
Add missing project attributes
| -rw-r--r-- | src/librustc/hir/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<Attribute>, 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<Attribute>, pub node: ForeignItemKind, |
