mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
dcd5177fd4
This helps simplify the code. It also fixes it to use the correct parent when lowering. One consequence is the `non_snake_case` lint needed to change the way it looked for parent nodes in a struct pattern. This also includes a small fix to use the correct `Target` for expression field attribute validation.