diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-14 15:29:00 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-14 15:29:00 +0000 |
commit | 63c5c928561b45dcef5c13881f09e5bc98c1eb9a (patch) | |
tree | e338540418eeff1c317d9781ae17dd32c987e9a2 /crates/ide_db/src/helpers.rs | |
parent | 8638bcbfe79a19f3c2a75bd35054e90a245af3af (diff) | |
parent | 7b64622780bfa33c593ba856bdb6cfc31b220265 (diff) |
Merge #7668
7668: Finalize rename infra rewrite r=matklad a=Veykril
This should be the final PR in regards to rewriting rename stuff, #4290.
It addresses 3 things:
- Currently renaming import aliases causes some undesired behavior(see #5198) which is why this PR causes us to just return an error if an attempt at renaming an alias is made for the time being. Though this only prevents it from happening when the alias import is renamed, so its not too helpful.
- Fixes #6898
- If we are inside a macro file simply rename the input name node as there isn't really a way to do any of the fancy shorthand renames and similar things as for that we would have to exactly know what the macro generates and what not.
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide_db/src/helpers.rs')
0 files changed, 0 insertions, 0 deletions