mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
42a2a53ec1
Add missing const edge case We don't "process" const so we need to check for additional cases when the PatKind is a Path. We need to make sure that if there is only one variant that there is no field. If there is one or more field, we will want to borrow the match scrutinee Closes https://github.com/rust-lang/rust/issues/88331 r? `@nikomatsakis`