mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 21:31:32 +00:00

Account for `ref` and `mut` in the wrong place for pattern ident renaming If the user writes `S { ref field: name }` instead of `S { field: ref name }`, we suggest the correct code. Fix #72298.