diff options
| author | Pavel Grigorenko <grigorenkopv@ya.ru> | 2024-02-23 14:09:37 +0300 |
|---|---|---|
| committer | Pavel Grigorenko <grigorenkopv@ya.ru> | 2024-02-23 18:02:25 +0300 |
| commit | 58c8c0853f08d83a86edfc9cd73463ff29f0509f (patch) | |
| tree | d14629ba3280f10d633048e690650eb053c05dc6 /library/std/src/thread/local.rs | |
| parent | 52cea084bd5bbac12ecfa5c0499f5c777025c968 (diff) | |
| download | rust-58c8c0853f08d83a86edfc9cd73463ff29f0509f.tar.gz rust-58c8c0853f08d83a86edfc9cd73463ff29f0509f.zip | |
Get rid of some `#[allow(static_mut_refs)]`
Diffstat (limited to 'library/std/src/thread/local.rs')
| -rw-r--r-- | library/std/src/thread/local.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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<T: 'static> fmt::Debug for LocalKey<T> { #[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) () => {}; |
