Give VariantData::Struct
named fields, to clairfy recovered
.
This commit is contained in:
parent
69e4545a8d
commit
11337805fb
21 changed files with 51 additions and 40 deletions
|
@ -814,7 +814,7 @@ fn convert_variant(
|
|||
})
|
||||
.collect();
|
||||
let recovered = match def {
|
||||
hir::VariantData::Struct(_, r) => *r,
|
||||
hir::VariantData::Struct { recovered, .. } => *recovered,
|
||||
_ => false,
|
||||
};
|
||||
ty::VariantDef::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue