From c33bebd630b304ab2a6ea9cf13fb150d7abf0fbc Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 24 Feb 2025 16:47:28 -0600 Subject: [PATCH] rust: remove allow of static mutables As references to static mutables are highly discouraged, remove the global suppressing of the compiler warning. Each use case can be suppressed as needed. Ticket: #7417 --- rust/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index ad280a368d..bdf3d6b1c2 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -57,9 +57,6 @@ // example static_mut_refs. #![allow(unknown_lints)] -// Allow for now, but need to be fixed. -#![allow(static_mut_refs)] - #[macro_use] extern crate bitflags; extern crate byteorder; -- 2.47.2