From f7dddd4c81a9531b78b4f03fd4536831978475eb Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Mon, 5 Jun 2023 00:03:43 +0600 Subject: std.debug: remove `warn` (deprecated in 0.9) Followup to 902df103c6151c257c90de9ba5f29f7f4b9dbea2. Signed-off-by: Eric Joldasov --- lib/std/debug.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/std/debug.zig') diff --git a/lib/std/debug.zig b/lib/std/debug.zig index e0352a26fb..ea0d467085 100644 --- 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 { -- cgit v1.2.3