-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
C-featureCategory: feature requestCategory: feature requestS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
The title is not as clear as it could be - here's an example:
let Item { attrs, name, source, visibility, def_id, inner, stability, deprecation } = item;
When I rename inner
to kind
, I expect this to be changed to
let Item { attrs, name, source, visibility, def_id, kind, stability, deprecation } = item;
and all usages of inner
in this scope updated. Instead, rust-analyzer changes it to
let Item { attrs, name, source, visibility, def_id, kind: inner, stability, deprecation } = item;
which is not super helpful and messes up rustfmt.
jplatte, ajwerner and nielsle
Metadata
Metadata
Assignees
Labels
C-featureCategory: feature requestCategory: feature requestS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now