Commit e92dab14f9
Changed files (1)
lib
std
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,