diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-01-15 17:34:12 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-01-16 12:49:58 +0000 |
| commit | 9804cc8bc6fe83b2a0cd5b61b8d2fc5d458cb221 (patch) | |
| tree | d2f7a675b37c8f94db9b1015589a3b37805e2ac6 /src/InternPool.zig | |
| parent | 89a9cabafd745034871ea014b06bd3bad0505f4a (diff) | |
| download | zig-9804cc8bc6fe83b2a0cd5b61b8d2fc5d458cb221.tar.gz zig-9804cc8bc6fe83b2a0cd5b61b8d2fc5d458cb221.zip | |
all: update to `std.builtin.Type.{Pointer,Array,StructField}` field renames
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index 4974c54761..36ddfda857 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -1134,7 +1134,7 @@ const Local = struct { for (&new_fields, elem_fields) |*new_field, elem_field| new_field.* = .{ .name = elem_field.name, .type = *[len]elem_field.type, - .default_value = null, + .default_value_ptr = null, .is_comptime = false, .alignment = 0, }; @@ -1162,9 +1162,9 @@ const Local = struct { .address_space = .generic, .child = elem_field.type, .is_allowzero = false, - .sentinel = null, + .sentinel_ptr = null, } }), - .default_value = null, + .default_value_ptr = null, .is_comptime = false, .alignment = 0, }; |
