about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-19 13:30:52 +0200
committerGitHub <noreply@github.com>2022-07-19 13:30:52 +0200
commite6904fc5b24a10e97d0a32908f49886e52e73990 (patch)
tree1447d09895921da9f27af3f9bbcfee41a11e4b2a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentae90a8f2e148f1fd1e0e907912d274224215cb12 (diff)
parente2ecb68a0eeee6db4d8f605374e656822186f8b4 (diff)
downloadrust-e6904fc5b24a10e97d0a32908f49886e52e73990.tar.gz
rust-e6904fc5b24a10e97d0a32908f49886e52e73990.zip
Rollup merge of #99457 - SparrowLii:para_iter, r=fee1-dead
use `par_for_each_in` in `par_body_owners` and `collect_crate_mono_items`

Using `par_iter` in non-parallel mode will cause the entire process to abort when any iteration panics.  So we can use `par_for_each_in` instead to make the error message consistent with parallel mode. This means that the compiler will output more error messages in some cases. This fixes the following ui tests when set `parallel-compiler = true`:
```
    [ui] src/test\ui\privacy\privacy2.rs
    [ui] src/test\ui\privacy\privacy3.rs
    [ui] src/test\ui\type_length_limit.rs
```

This refers to #68171

Updates #75760
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions