Skip to content

Commit bc3a84a

Browse files
committed
Add missing project attributes
1 parent 3936aff commit bc3a84a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc/hir/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2039,6 +2039,7 @@ pub struct EnumDef {
20392039

20402040
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
20412041
pub struct VariantKind {
2042+
#[stable_hasher(project(name))]
20422043
pub ident: Ident,
20432044
pub attrs: HirVec<Attribute>,
20442045
pub data: VariantData,
@@ -2383,6 +2384,7 @@ pub enum AssociatedItemKind {
23832384

23842385
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
23852386
pub struct ForeignItem {
2387+
#[stable_hasher(project(name))]
23862388
pub ident: Ident,
23872389
pub attrs: HirVec<Attribute>,
23882390
pub node: ForeignItemKind,

0 commit comments

Comments
 (0)