Enums in offset_of: update based on est31, scottmcm & llogiq review
This commit is contained in:
parent
e936416a8d
commit
d995bd61e7
15 changed files with 150 additions and 140 deletions
|
@ -514,7 +514,7 @@ pub enum NullOp {
|
|||
/// Returns the minimum alignment of a type.
|
||||
AlignOf,
|
||||
/// Returns the offset of a field.
|
||||
OffsetOf(Vec<FieldIdx>),
|
||||
OffsetOf(Vec<(VariantIdx, FieldIdx)>),
|
||||
}
|
||||
|
||||
impl Operand {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue