Disable debug_assert_not_in_new_nodes for multiple threads#152655
Disable debug_assert_not_in_new_nodes for multiple threads#152655rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
|
r? @nnethercote rustbot has assigned @nnethercote. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Please give some explanation of what this change is doing, and why. Even though it's a small change, just writing "Fixes #152654" isn't enough. |
|
I think |
|
We could probably consider removing it too. I don't think it has much value anymore. |
Updated the top comment. Is this good? |
Yes, thank you.
This PR is enough to fix a known bug. To keep things moving I will approve it as is. Please open a follow-up PR implementing either of these suggestions if you like. The second option is more expansive -- there are multiple checks involving @bors r+ rollup |
…51509, r=nnethercote Disable debug_assert_not_in_new_nodes for multiple threads Fixes rust-lang#152654 This debug assertion is no longer intended to succeed for the parallel compiler since rust-lang#151509 doesn't panic on a red-green query graph coloring race, generating both red and green nodes (rust-lang#151509 (comment))
Rollup of 5 pull requests Successful merges: - #152042 (Suggest async block instead of async closure when possible) - #152949 (Introduce --ci flag in tidy) - #152655 (Disable debug_assert_not_in_new_nodes for multiple threads) - #153209 (Clean up `QueryVTable::hash_result` into `hash_value_fn`) - #153229 (rustfmt: add test for field representing type builtin syntax)
Rollup of 5 pull requests Successful merges: - #152042 (Suggest async block instead of async closure when possible) - #152949 (Introduce --ci flag in tidy) - #152655 (Disable debug_assert_not_in_new_nodes for multiple threads) - #153209 (Clean up `QueryVTable::hash_result` into `hash_value_fn`) - #153229 (rustfmt: add test for field representing type builtin syntax)
Rollup merge of #152655 - zetanumbers:disable_debug_assert_151509, r=nnethercote Disable debug_assert_not_in_new_nodes for multiple threads Fixes #152654 This debug assertion is no longer intended to succeed for the parallel compiler since #151509 doesn't panic on a red-green query graph coloring race, generating both red and green nodes (#151509 (comment))
Fixes #152654
This debug assertion is no longer intended to succeed for the parallel compiler since #151509 doesn't panic on a red-green query graph coloring race, generating both red and green nodes (#151509 (comment))