Open
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.