mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-26 17:42:04 +00:00
The `rustc_data_structures::sync::OnceCell` is thread-safe when building a parallel compiler. This is unnecessary for the purposes of pattern usefulness checking. Use `!Sync` `std::lazy::OnceCell` instead.