diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-15 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-15 00:00:00 +0000 |
| commit | 64b5b75e65f010d88175fbb98b4396ccede5c32e (patch) | |
| tree | 9f05b4baccffb57af64499b48e426f3a35f185ca /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | d1206f950ffb76c76e1b74a19ae33c2b7d949454 (diff) | |
| download | rust-64b5b75e65f010d88175fbb98b4396ccede5c32e.tar.gz rust-64b5b75e65f010d88175fbb98b4396ccede5c32e.zip | |
Use !Sync std::lazy::OnceCell in usefulness checking
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
