Skip to content

use par_for_each_in in par_body_owners and collect_crate_mono_items#99457

Merged
bors merged 1 commit intorust-lang:masterfrom
SparrowLii:para_iter
Jul 19, 2022
Merged

use par_for_each_in in par_body_owners and collect_crate_mono_items#99457
bors merged 1 commit intorust-lang:masterfrom
SparrowLii:para_iter

Conversation

@SparrowLii
Copy link
Copy Markdown
Member

@SparrowLii SparrowLii commented Jul 19, 2022

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants