mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Add missing project attributes
This commit is contained in:
parent
3936aff216
commit
bc3a84a7f3
@ -2039,6 +2039,7 @@ pub struct EnumDef {
|
|||||||
|
|
||||||
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
|
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
|
||||||
pub struct VariantKind {
|
pub struct VariantKind {
|
||||||
|
#[stable_hasher(project(name))]
|
||||||
pub ident: Ident,
|
pub ident: Ident,
|
||||||
pub attrs: HirVec<Attribute>,
|
pub attrs: HirVec<Attribute>,
|
||||||
pub data: VariantData,
|
pub data: VariantData,
|
||||||
@ -2383,6 +2384,7 @@ pub enum AssociatedItemKind {
|
|||||||
|
|
||||||
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
|
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable)]
|
||||||
pub struct ForeignItem {
|
pub struct ForeignItem {
|
||||||
|
#[stable_hasher(project(name))]
|
||||||
pub ident: Ident,
|
pub ident: Ident,
|
||||||
pub attrs: HirVec<Attribute>,
|
pub attrs: HirVec<Attribute>,
|
||||||
pub node: ForeignItemKind,
|
pub node: ForeignItemKind,
|
||||||
|
Loading…
Reference in New Issue
Block a user