SessionDiagnostic: Fix non-determinism in generated format string.#76515
Conversation
|
From #76496 (comment):
@jgalenson -- I know it's a bit of an ask, but can you confirm this fixes the problem? |
|
@bors r+ I think @jgalenson will see whether this fixes it once this is in nightly and their script runs again |
|
📌 Commit 8b39250 has been approved by |
Perfect! This is much better. The FxHashSet stuff is only for speed, not determinism anyway |
|
Thanks for the patch! I've started some runs to see if this fixes the problem; I'll reply again when they're done. |
|
Yes, it seems to solve the problem. Thanks! |
|
No worries - thank you for checking :) |
Rollup of 14 pull requests Successful merges: - rust-lang#75094 (Add `-Z combine_cgu` flag) - rust-lang#75984 (Improve unresolved use error message) - rust-lang#76141 (Address review comments about config.toml from rustc-dev-guide PR) - rust-lang#76313 (Improved the MIR spanview output) - rust-lang#76430 (Add align to rustc-attrs unstable book) - rust-lang#76465 (Add a script to automatically update Rust/Clang versions in documentation) - rust-lang#76473 (Add missed spaces to GCC-WARNING.txt) - rust-lang#76481 (Convert repetitive target_pointer_width checks to const solution.) - rust-lang#76493 (Remove a stray ignore-tidy-undocumented-unsafe) - rust-lang#76504 (Capitalize safety comments) - rust-lang#76515 (SessionDiagnostic: Fix non-determinism in generated format string.) - rust-lang#76516 (Enable GitHub Releases synchronization) - rust-lang#76522 (remove redundant clones) - rust-lang#76523 (Remove unused PlaceContext::NonUse(NonUseContext::Coverage)) Failed merges: r? `@ghost`
Fixes #76496.
r? @oli-obk