about summary refs log tree commit diff
path: root/library/std/src/thread/mod.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-07-29 20:19:49 +1000
committerGitHub <noreply@github.com>2025-07-29 20:19:49 +1000
commitdbcf16856850bc7f32256df3543e6936d2bbc864 (patch)
tree5a9a21823f954bb812f1d68fdd46b395eac3ee8b /library/std/src/thread/mod.rs
parentb3962e88114a5f633011d8670f318e1c20ba41b6 (diff)
parentd87b4f2c77add3404f7469ea72f1d7c51e2a29dc (diff)
downloadrust-dbcf16856850bc7f32256df3543e6936d2bbc864.tar.gz
rust-dbcf16856850bc7f32256df3543e6936d2bbc864.zip
Rollup merge of #144451 - ShoyuVanilla:loop-match-upvar, r=oli-obk
fix: Reject upvar scrutinees for `loop_match`

Fixes https://github.com/rust-lang/rust/issues/144051

I think we should reject upvars as they are not locals but somewhat like field access
Diffstat (limited to 'library/std/src/thread/mod.rs')
0 files changed, 0 insertions, 0 deletions