aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-05 00:03:43 +0600
committerEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-13 23:46:58 +0600
commitf7dddd4c81a9531b78b4f03fd4536831978475eb (patch)
tree3c58450db4224c5f9ff5daa8e67ab9710f034174 /lib/std
parentee821b2d7fa62310383bc22b527b1843aecc7e22 (diff)
downloadzig-f7dddd4c81a9531b78b4f03fd4536831978475eb.tar.gz
zig-f7dddd4c81a9531b78b4f03fd4536831978475eb.zip
std.debug: remove `warn` (deprecated in 0.9)
Followup to 902df103c6151c257c90de9ba5f29f7f4b9dbea2. Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/debug.zig2
1 files changed, 0 insertions, 2 deletions
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 {