std.meta: remove TagType (deprecated in 0.9)

Followup to 902df103c6151c257c90de9ba5f29f7f4b9dbea2.
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
Eric Joldasov 2023-06-04 23:45:54 +06:00
parent d04a262a3d
commit e92dab14f9
No known key found for this signature in database
GPG Key ID: 5C9C69060686B588

View File

@ -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,