Remove AdtFlags::IS_ANONYMOUS and Copy/Clone condition for anonymous ADT
This commit is contained in:
parent
385970f0c1
commit
f525b173ed
3 changed files with 1 additions and 18 deletions
|
@ -1151,7 +1151,7 @@ pub struct VariantDef {
|
|||
/// `DefId` that identifies the variant's constructor.
|
||||
/// If this variant is a struct variant, then this is `None`.
|
||||
pub ctor: Option<(CtorKind, DefId)>,
|
||||
/// Variant or struct name, maybe empty for anonymous adt (struct or union).
|
||||
/// Variant or struct name.
|
||||
pub name: Symbol,
|
||||
/// Discriminant of this variant.
|
||||
pub discr: VariantDiscr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue