mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
dbcf168568
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