mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +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.