about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJames Dietz <jamesthespeedy@gmail.com>2023-05-08 13:18:57 -0400
committerJames Dietz <jamesthespeedy@gmail.com>2023-07-24 16:32:32 -0400
commitfe0ef9a689d6298d0aa58dc3e491fc0066132fa7 (patch)
tree4cba9360482358b9e30e7e858ad425e4e18b4596
parentfc8a3e357a0a5e317132e5ff8858ec70970fb07a (diff)
downloadrust-fe0ef9a689d6298d0aa58dc3e491fc0066132fa7.tar.gz
rust-fe0ef9a689d6298d0aa58dc3e491fc0066132fa7.zip
delete [allow(...)] from issue #74838
-rw-r--r--library/std/src/sys/common/thread_local/fast_local.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/library/std/src/sys/common/thread_local/fast_local.rs b/library/std/src/sys/common/thread_local/fast_local.rs
index bc5da1a1896..c0a9619bf7b 100644
--- a/library/std/src/sys/common/thread_local/fast_local.rs
+++ b/library/std/src/sys/common/thread_local/fast_local.rs
@@ -87,10 +87,6 @@ pub macro thread_local_inner {
                 static __KEY: $crate::thread::local_impl::Key<$t> =
                     $crate::thread::local_impl::Key::<$t>::new();
 
-                // FIXME: remove the #[allow(...)] marker when macros don't
-                // raise warning for missing/extraneous unsafe blocks anymore.
-                // See https://github.com/rust-lang/rust/issues/74838.
-                #[allow(unused_unsafe)]
                 unsafe {
                     __KEY.get(move || {
                         if let $crate::option::Option::Some(init) = init {