From 75cef6da28002b29d506aa4d210cd4ee53b65d41 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Tue, 11 Jun 2024 20:34:12 -0700 Subject: [PATCH] Allow static_mut_refs --- src/unwinder/find_fde/registry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unwinder/find_fde/registry.rs b/src/unwinder/find_fde/registry.rs index 5b29b10..1e74650 100644 --- a/src/unwinder/find_fde/registry.rs +++ b/src/unwinder/find_fde/registry.rs @@ -48,7 +48,7 @@ unsafe fn lock_global_state() -> impl ops::DerefMut { impl ops::Deref for LockGuard { type Target = GlobalState; - #[allow(static_mut_ref)] + #[allow(static_mut_refs)] fn deref(&self) -> &GlobalState { unsafe { &*core::ptr::addr_of!(STATE) } }