rust/clippy_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
..
src Auto merge of #12567 - Alexendoo:format-args-storage, r=flip1995 2024-05-03 09:21:22 +00:00
Cargo.toml Bump Clippy version -> 0.1.80 2024-05-02 14:21:19 +02:00