diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2021-01-11 11:19:24 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-01-30 22:26:44 +0200 |
| commit | 0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8 (patch) | |
| tree | 1a9a37f1a5fc96b56044f74c186101d5ac862654 /lib/std/builtin.zig | |
| parent | 1637d8ac80b46599e276eb767208f54f0a30ccf0 (diff) | |
| download | zig-0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8.tar.gz zig-0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8.zip | |
Replace @TagType uses, mostly with std.meta.Tag
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index c883e03ba9..7163cc5357 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -175,7 +175,7 @@ pub const SourceLocation = struct { column: u32, }; -pub const TypeId = @TagType(TypeInfo); +pub const TypeId = std.meta.Tag(TypeInfo); /// This data structure is used by the Zig language code generation and /// therefore must be kept in sync with the compiler implementation. |
