From: Matthias Krüger Date: Tue, 19 Jul 2022 11:30:52 +0000 (+0200) Subject: Rollup merge of #99457 - SparrowLii:para_iter, r=fee1-dead X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=e6904fc5b24a10e97d0a32908f49886e52e73990;p=rust.git 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 --- e6904fc5b24a10e97d0a32908f49886e52e73990