mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
993d8ae2a7
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` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |