Remove hir::Variant::attrs.
This commit is contained in:
parent
a0a4611a81
commit
3c0afc3e1c
5 changed files with 10 additions and 15 deletions
|
@ -2538,8 +2538,6 @@ pub struct Variant<'hir> {
|
|||
/// Name of the variant.
|
||||
#[stable_hasher(project(name))]
|
||||
pub ident: Ident,
|
||||
/// Attributes of the variant.
|
||||
pub attrs: &'hir [Attribute],
|
||||
/// Id of the variant (not the constructor, see `VariantData::ctor_hir_id()`).
|
||||
pub id: HirId,
|
||||
/// Fields and constructor id of the variant.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue