about summary refs log tree commit diff
path: root/compiler/rustc_expand
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-23 18:13:53 +0200
committerGitHub <noreply@github.com>2025-09-23 18:13:53 +0200
commit64e81e5cb7f8a09e22cd1f570f6a6deb6bda4373 (patch)
tree060c0a717b9513fd83fea6d21fccd07f8da17497 /compiler/rustc_expand
parent8f11c4dadb9e240815ca25e613b17656ab665eda (diff)
parent389a502ade65e82d8a0c4d323118121c1c09c4f8 (diff)
downloadrust-64e81e5cb7f8a09e22cd1f570f6a6deb6bda4373.tar.gz
rust-64e81e5cb7f8a09e22cd1f570f6a6deb6bda4373.zip
Rollup merge of #146799 - cuviper:dangling-count-latch, r=lcnr
Fix a dangling reference in `rustc_thread_pool`

This diverged from `rayon` in rust-lang/rust#142384, where a cleanup commit turned the matched `worker_index` into a reference, which is read _after_ the `set` that may kill it. I've moved that read beforehand, and I hope the new comments will emphasize the subtlety of this unsafe code.

Hopefully fixes rust-lang/rust#146677.
Diffstat (limited to 'compiler/rustc_expand')
0 files changed, 0 insertions, 0 deletions