diff options
| author | James Dietz <jamesthespeedy@gmail.com> | 2023-05-08 13:18:57 -0400 |
|---|---|---|
| committer | James Dietz <jamesthespeedy@gmail.com> | 2023-07-24 16:32:32 -0400 |
| commit | fe0ef9a689d6298d0aa58dc3e491fc0066132fa7 (patch) | |
| tree | 4cba9360482358b9e30e7e858ad425e4e18b4596 | |
| parent | fc8a3e357a0a5e317132e5ff8858ec70970fb07a (diff) | |
| download | rust-fe0ef9a689d6298d0aa58dc3e491fc0066132fa7.tar.gz rust-fe0ef9a689d6298d0aa58dc3e491fc0066132fa7.zip | |
delete [allow(...)] from issue #74838
| -rw-r--r-- | library/std/src/sys/common/thread_local/fast_local.rs | 4 |
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 { |
