Revert "Merge pull request #15995 from mlugg/fix/union-field-ptr-align"
This reverts commit40cf3f7ae5, reversing changes made tod98147414d.
This commit is contained in:
@@ -992,7 +992,6 @@ pub const Struct = struct {
|
||||
is_comptime: bool,
|
||||
|
||||
/// Returns the field alignment. If the struct is packed, returns 0.
|
||||
/// Keep implementation in sync with `Sema.structFieldAlignment`.
|
||||
pub fn alignment(
|
||||
field: Field,
|
||||
mod: *Module,
|
||||
|
||||
Reference in New Issue
Block a user