From 58c8c0853f08d83a86edfc9cd73463ff29f0509f Mon Sep 17 00:00:00 2001 From: Pavel Grigorenko Date: Fri, 23 Feb 2024 14:09:37 +0300 Subject: Get rid of some `#[allow(static_mut_refs)]` --- library/std/src/thread/local.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'library/std/src/thread') diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs index 34d30a259ee..fbb882e640b 100644 --- a/library/std/src/thread/local.rs +++ b/library/std/src/thread/local.rs @@ -180,8 +180,6 @@ impl fmt::Debug for LocalKey { #[stable(feature = "rust1", since = "1.0.0")] #[cfg_attr(not(test), rustc_diagnostic_item = "thread_local_macro")] #[allow_internal_unstable(thread_local_internals)] -// FIXME: Use `SyncUnsafeCell` instead of allowing `static_mut_refs` lint -#[cfg_attr(not(bootstrap), allow(static_mut_refs))] macro_rules! thread_local { // empty (base case for the recursion) () => {}; -- cgit 1.4.1-3-g733a5