rust/crates
bors[bot] 510abef5da
Merge #7130
7130: Add extract_assignment assist r=Jesse-Bakker a=Jesse-Bakker

Add extract-assignment assist (#7006).

Assist is for now only implemented on if/match-statements where the assigment is the last statement in every block,
as for other cases, one would have to check whether the assignment has effects on the rest of the block and
extract a temporary variable for it in the block.



Co-authored-by: Jesse Bakker <github@jessebakker.com>
2021-01-02 16:23:06 +00:00
..
arena
assists Add support for MatchExpr to extract_assigment assist 2021-01-02 17:10:46 +01:00
base_db Add support for Rust 2021. 2021-01-01 17:22:23 +01:00
cfg
completion Merge #7102 2021-01-01 00:32:59 +00:00
flycheck
hir Merge #7080 2021-01-01 13:45:10 +00:00
hir_def Merge #7080 2021-01-01 13:45:10 +00:00
hir_expand Fix infer error of macro invocation in array expr 2021-01-02 22:06:59 +08:00
hir_ty Merge #7134 2021-01-02 14:16:26 +00:00
ide Formatting. 2021-01-01 17:31:32 +01:00
ide_db Merge #7080 2021-01-01 13:45:10 +00:00
mbe Remove unused clones in mbe 2020-12-31 02:58:41 +08:00
parser Fix mbe fail to pass expr with attr 2020-12-28 19:53:00 +08:00
paths
proc_macro_api Remove serde_stacker which depends on cc 2021-01-01 15:26:55 +08:00
proc_macro_srv Fix spacing in proc-macro tokens to_string 2020-12-31 13:36:19 +08:00
proc_macro_test
profile
project_model Add support for Rust 2021. 2021-01-01 17:22:23 +01:00
rust-analyzer Formatting. 2021-01-01 17:31:32 +01:00
ssr Remove some unneeded string allocations 2020-12-31 10:13:14 +01:00
stdx
syntax Update crates 2020-12-30 10:39:50 -05:00
test_utils
text_edit
toolchain
tt Move TokenExpander to base_db and rename it 2020-12-27 15:29:47 +01:00
vfs
vfs-notify