Lower anonymous structs or unions to HIR
This commit is contained in:
parent
084ce5bdb5
commit
879a1e5713
38 changed files with 288 additions and 174 deletions
|
@ -1084,6 +1084,8 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
|
|||
parent_did,
|
||||
false,
|
||||
data.is_non_exhaustive,
|
||||
// FIXME: unnamed fields in crate metadata is unimplemented yet.
|
||||
false,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
@ -1126,6 +1128,7 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
|
|||
adt_kind,
|
||||
variants.into_iter().map(|(_, variant)| variant).collect(),
|
||||
repr,
|
||||
false,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue