| ... | @@ -451,7 +451,7 @@ test { | ... | @@ -451,7 +451,7 @@ test { |
| 451 | | 451 | |
| 452 | /// Given a type, reference all the declarations inside, so that the semantic analyzer sees them. | 452 | /// Given a type, reference all the declarations inside, so that the semantic analyzer sees them. |
| 453 | pub fn refAllDecls(comptime T: type) void { | 453 | pub fn refAllDecls(comptime T: type) void { |
| 454 | if (!@import("builtin").is_test) return; | 454 | if (!std.builtin.is_test) return; |
| 455 | inline for (std.meta.declarations(T)) |decl| { | 455 | inline for (std.meta.declarations(T)) |decl| { |
| 456 | _ = decl; | 456 | _ = decl; |
| 457 | } | 457 | } |