From e92dab14f929d8c1d1a9ad4a25a7fae7dd04b0f1 Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Sun, 4 Jun 2023 23:45:54 +0600 Subject: [PATCH] std.meta: remove `TagType` (deprecated in 0.9) Followup to 902df103c6151c257c90de9ba5f29f7f4b9dbea2. Signed-off-by: Eric Joldasov --- lib/std/meta.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 4924e40bbb..28709750c7 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -711,8 +711,6 @@ test "std.meta.DeclEnum" { try expectEqualEnum(enum { a, b, c }, DeclEnum(C)); } -pub const TagType = @compileError("deprecated; use Tag"); - pub fn Tag(comptime T: type) type { return switch (@typeInfo(T)) { .Enum => |info| info.tag_type,