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` |
||
|---|---|---|
| .. | ||
| internal_lints | ||
| author.rs | ||
| dump_hir.rs | ||
| format_args_collector.rs | ||
| internal_lints.rs | ||
| mod.rs | ||