commit f7dddd4c81a9531b78b4f03fd4536831978475eb (tree)
parent ee821b2d7fa62310383bc22b527b1843aecc7e22
Author: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Date: Mon, 5 Jun 2023 00:03:43 +0600
std.debug: remove `warn` (deprecated in 0.9)
Followup to 902df103c6151c257c90de9ba5f29f7f4b9dbea2.
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
@@ -81,8 +81,6 @@ const PdbOrDwarf = union(enum) {
var stderr_mutex = std.Thread.Mutex{};
-pub const warn = @compileError("deprecated; use `std.log` functions for logging or `std.debug.print` for 'printf debugging'");
-
/// Print to stderr, unbuffered, and silently returning on failure. Intended
/// for use in "printf debugging." Use `std.log` functions for proper logging.
pub fn print(comptime fmt: []const u8, args: anytype) void {