remove unused field from VariantDef::new and convert debug to instrument
This commit is contained in:
parent
cede9029fd
commit
8467a76581
3 changed files with 1 additions and 9 deletions
|
@ -1075,7 +1075,6 @@ fn lower_variant<'tcx>(
|
|||
def.ctor().map(|(kind, _, def_id)| (kind, def_id.to_def_id())),
|
||||
discr,
|
||||
fields,
|
||||
adt_kind,
|
||||
parent_did.to_def_id(),
|
||||
recovered,
|
||||
adt_kind == AdtKind::Struct && tcx.has_attr(parent_did, sym::non_exhaustive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue