1
Fork 0

Remove hir::Variant::attrs.

This commit is contained in:
Camille GILLOT 2020-11-27 00:07:36 +01:00
parent a0a4611a81
commit 3c0afc3e1c
5 changed files with 10 additions and 15 deletions

View file

@ -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.