From db62680edd04c78eada3cf67f27d8825e08feb9a Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 31 Jul 2025 19:36:38 +0200 Subject: rust: disable borrow_as_ptr warning This is pretty noisy, but it was not visible until now because it only shows up if the rust-version has "&raw const". Signed-off-by: Paolo Bonzini --- rust/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 0868e1b..0a83db1 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -53,7 +53,6 @@ as_ptr_cast_mut = "deny" as_underscore = "deny" assertions_on_result_states = "deny" bool_to_int_with_if = "deny" -borrow_as_ptr = "deny" cast_lossless = "deny" dbg_macro = "deny" debug_assert_with_mut_call = "deny" -- cgit v1.1