diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-05-02 20:26:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-03 13:27:30 -0700 |
| commit | a52f12afc97c5973cfb844be01cf40a9a6fdb57a (patch) | |
| tree | 07163ba57f35f0105745ea85b482b4b799c4b7a7 /lib/std/meta.zig | |
| parent | 3b5be9fb6e06f6494ca05fb087a2121e220beb3f (diff) | |
| download | zig-a52f12afc97c5973cfb844be01cf40a9a6fdb57a.tar.gz zig-a52f12afc97c5973cfb844be01cf40a9a6fdb57a.zip | |
Delete compile errors for deprecated decls
Diffstat (limited to 'lib/std/meta.zig')
| -rw-r--r-- | lib/std/meta.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig index e8296f78a3..13c7731c55 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -13,10 +13,6 @@ test { _ = TrailerFlags; } -pub const tagName = @compileError("deprecated; use @tagName or @errorName directly"); - -pub const isTag = @compileError("deprecated; use 'tagged_value == @field(E, tag_name)' directly"); - /// Returns the variant of an enum type, `T`, which is named `str`, or `null` if no such variant exists. pub fn stringToEnum(comptime T: type, str: []const u8) ?T { // Using StaticStringMap here is more performant, but it will start to take too |
