about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2023-11-23 20:10:44 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2023-11-23 20:10:44 -0500
commitee9223ff973bc3006da81611fb1cd36850d2fab8 (patch)
tree105120a54a0b41ab34e7350f4843186d7dc0e7cd /compiler/rustc_hir_analysis/src/structured_errors.rs
parenta4a5c976fee30bdd350aa0df10b14cb87ade48fe (diff)
downloadrust-ee9223ff973bc3006da81611fb1cd36850d2fab8.tar.gz
rust-ee9223ff973bc3006da81611fb1cd36850d2fab8.zip
Enforce NonZeroUsize on thread count
This allows avoiding some if != 0 checks when allocating worker-local
datasets.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions