remove is_pub usage from builtin.Type.Declararion

This field was removed, see
3c08fe931a
This commit is contained in:
Robin Voetter
2023-08-04 23:29:41 +02:00
parent 391998e535
commit 510c6b836b

View File

@@ -103,7 +103,7 @@ fn reallyRefAllDecls(comptime T: type) void {
fn reallyRefAllContainerDecls(comptime T: type) void {
inline for (comptime std.meta.declarations(T)) |decl| {
if (decl.is_pub and @TypeOf(@field(T, decl.name)) == type) {
if (@TypeOf(@field(T, decl.name)) == type) {
reallyRefAllDecls(@field(T, decl.name));
}
}