rust/clippy_lints/src/utils
bors 993d8ae2a7 Auto merge of #12567 - Alexendoo:format-args-storage, r=flip1995
Fix `FormatArgs` storage when `-Zthreads` > 1

Fixes #11886

The initial way I thought of was a little gross so I never opened a PR for it, I thought of a nicer way today that no longer involves any `thread_local`s or `static`s

`rustc_data_strucutres::sync::{Lrc, OnceLock}` implement `DynSend` + `DynSync` so we can pass them to the lint passes that need the storage

changelog: none

r? `@flip1995`
2024-05-03 09:21:22 +00:00
..
internal_lints Merge commit '9725c4a162' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
author.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-05-02 14:21:00 +02:00
dump_hir.rs Merge commit '09ac14c901' into clippyup 2023-11-02 17:35:56 +01:00
format_args_collector.rs Fix FormatArgs storage when -Zthreads > 1 2024-05-01 11:35:04 +00:00
internal_lints.rs Merge commit 'edb720b199' into clippyup 2023-11-16 19:13:24 +01:00
mod.rs Merge commit '09ac14c901' into clippyup 2023-11-02 17:35:56 +01:00