Skip to content

Commit fe0ef9a

Browse files
committed
delete [allow(...)] from issue #74838
1 parent fc8a3e3 commit fe0ef9a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/std/src/sys/common/thread_local/fast_local.rs

-4
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ pub macro thread_local_inner {
8787
static __KEY: $crate::thread::local_impl::Key<$t> =
8888
$crate::thread::local_impl::Key::<$t>::new();
8989

90-
// FIXME: remove the #[allow(...)] marker when macros don't
91-
// raise warning for missing/extraneous unsafe blocks anymore.
92-
// See https://github.com/rust-lang/rust/issues/74838.
93-
#[allow(unused_unsafe)]
9490
unsafe {
9591
__KEY.get(move || {
9692
if let $crate::option::Option::Some(init) = init {

0 commit comments

Comments
 (0)