Revert "Merge pull request #15995 from mlugg/fix/union-field-ptr-align"

This reverts commit 40cf3f7ae5, reversing
changes made to d98147414d.
This commit is contained in:
Jacob Young
2023-06-29 00:06:12 -04:00
parent 1a2468abfc
commit 43c98dc115
5 changed files with 8 additions and 230 deletions

View File

@@ -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,