update in response to std.builtin.Type field renames

This commit is contained in:
Andrew Kelley
2024-08-30 19:55:03 -07:00
parent d03459819c
commit 28c14dcf37
2 changed files with 11 additions and 11 deletions

View File

@@ -99,13 +99,13 @@ comptime {
fn reallyRefAllDecls(comptime T: type) void {
switch (@typeInfo(T)) {
.Struct, .Union => {
.@"struct", .@"union" => {
reallyRefAllContainerDecls(T);
inline for (std.meta.fields(T)) |field| {
reallyRefAllDecls(field.type);
}
},
.Enum, .Opaque => {
.@"enum", .@"opaque" => {
reallyRefAllContainerDecls(T);
},
else => {},