rust-analyzer/crates
bors[bot] 63c5c92856
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 <lukastw97@gmail.com>
2021-02-14 15:29:00 +00:00
..
assists strip type parameter defaults when generating impl generics 2021-02-13 23:59:51 +02:00
base_db Fix warnings when running cargo doc --document-private-items 2021-01-18 16:44:40 -05:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
completion Complete builtin type paths 2021-02-11 19:52:46 +01:00
flycheck Make logger-based debugging more pleasant 2021-01-28 17:07:53 +03:00
hir Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
hir_def Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
hir_expand add more counts 2021-01-27 12:39:19 +03:00
hir_ty Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
ide Merge #7668 2021-02-14 15:29:00 +00:00
ide_db Don't classify attribute macros as their path unless it's a function with the proc_macro_attribute attribute 2021-02-13 22:11:31 +01:00
mbe Make sure normal dependencies always have version 2021-02-03 12:51:07 +00:00
parser Pin Rust to 1.49.0 on CI 2021-02-12 13:05:56 +01:00
paths Document paths items 2021-01-22 15:38:33 +01:00
proc_macro_api Remove redundant clones 2021-02-05 16:57:26 +01:00
proc_macro_srv libloading 0.7 2021-02-11 10:07:49 -05:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile add more counts 2021-01-27 12:39:19 +03:00
project_model Async Loading outdir and proc-macro 2021-01-29 01:04:14 +08:00
rust-analyzer Moved CodeLens to ide crate 2021-02-13 13:07:47 +02:00
ssr . 2021-01-20 01:56:11 +03:00
stdx Cleanup decl_check 2021-02-05 16:09:45 +01:00
syntax Don't rename field record patterns directly 2021-02-13 23:47:21 +01:00
test_utils Add parsing benchmark 2021-02-09 21:52:34 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00