Renaming a struct field should rename variables that destructure the field #6547
Labels
C-feature
Category: feature request
S-actionable
Someone could pick this issue up and work on it right now
The title is not as clear as it could be - here's an example:
When I rename
inner
tokind
, I expect this to be changed toand all usages of
inner
in this scope updated. Instead, rust-analyzer changes it towhich is not super helpful and messes up rustfmt.
The text was updated successfully, but these errors were encountered: