rust-analyzer/crates
bors 04a2ac2de2 Auto merge of #13707 - lowr:feat/move-const-to-impl, r=Veykril
Add `move_const_to_impl` assist

Closes #13277

For the initial implementation, this assist:
- only applies to inherent impl. Much as we can *technically* provide this assist for default impl in trait definitions, it'd be complicated to get it right.
- may break code when the const's name collides with an item of a trait the self type implements.

Comments in the code explain those caveats in a bit more detail.
2022-12-03 13:16:22 +00:00
..
base-db ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
cfg ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
flycheck Properly implement Drop for JodGroupChild 2022-11-24 21:30:15 +01:00
hir ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
hir-def Auto merge of #13676 - fasterthanlime:subtree-fix, r=Veykril 2022-11-25 21:27:46 +00:00
hir-expand implement vararg type collection from function params 2022-11-29 00:32:13 +01:00
hir-ty Update Chalk to version 87 2022-11-29 15:25:09 +01:00
ide fmt 2022-12-03 01:20:27 +01:00
ide-assists Add move_const_to_impl assist 2022-12-03 01:22:00 +09:00
ide-completion Auto merge of #13611 - yue4u:fix/completion-after-colon, r=yue4u 2022-11-26 17:55:00 +00:00
ide-db Encode the variants of HirFileId in a u32 with MSB as the tag 2022-11-25 23:28:35 +01:00
ide-diagnostics ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
ide-ssr ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
limit ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
mbe ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
parser ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
paths ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-api ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-srv ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-srv-cli ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-test ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
profile ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
project-model Auto merge of #13667 - Veykril:detached-files-sysroot, r=Veykril 2022-11-24 09:21:44 +00:00
rust-analyzer Version the inlay hint resolve data 2022-11-29 19:20:32 +01:00
sourcegen ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
stdx ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
syntax ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
test-utils ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
text-edit ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
toolchain ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
tt ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
vfs ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
vfs-notify ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00