Skip to content
Permalink
Browse files

Add missing project attributes

  • Loading branch information...
Zoxc committed Mar 12, 2019
1 parent 3936aff commit bc3a84a7f33d8652cbf53c0877731265e3ecc1bc
Showing with 2 additions and 0 deletions.
  1. +2 −0 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,

0 comments on commit bc3a84a

Please sign in to comment.
You can’t perform that action at this time.