rust/crates
bors[bot] 7b6aa7c34e
Merge #2343
2343: implement assist invert_if r=matklad a=bravomikekilo

fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219)
I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position?
@matklad 

Co-authored-by: bravomikekilo <bmk1221@126.com>
2019-11-24 08:32:07 +00:00
..
ra_arena Disable doctests 2019-11-17 18:35:05 +03:00
ra_assists Merge #2343 2019-11-24 08:32:07 +00:00
ra_batch Disable doctests 2019-11-17 18:35:05 +03:00
ra_cfg Disable doctests 2019-11-17 18:35:05 +03:00
ra_cli Rename Source::ast -> Source::value 2019-11-20 09:42:30 +03:00
ra_db Reorder 2019-11-22 14:12:45 +03:00
ra_fmt fix 2190; add test for "replace if let with match" 2019-11-20 19:01:06 +01:00
ra_hir Move ModuleSource back to hir 2019-11-23 17:12:49 +03:00
ra_hir_def Move ModuleSource back to hir 2019-11-23 17:12:49 +03:00
ra_hir_expand Use macro for all the things 2019-11-23 22:48:34 +08:00
ra_ide_api Hide ImportId 2019-11-23 16:39:53 +03:00
ra_lsp_server Ban println in lsp_server 2019-11-22 10:46:56 +03:00
ra_mbe Fixed mbe trival subtree 2019-11-22 01:02:07 +08:00
ra_parser Disable doctests 2019-11-17 18:35:05 +03:00
ra_prof Disable doctests 2019-11-17 18:35:05 +03:00
ra_project_model Cleanup errors 2019-11-22 14:08:18 +03:00
ra_syntax Merge #2343 2019-11-24 08:32:07 +00:00
ra_text_edit Disable doctests 2019-11-17 18:35:05 +03:00
ra_tt Disable doctests 2019-11-17 18:35:05 +03:00
ra_vfs_glob Disable doctests 2019-11-17 18:35:05 +03:00
test_utils Disable doctests 2019-11-17 18:35:05 +03:00