rust/crates
bors[bot] a599147b42
Merge #2200
2200: Add variables to HIR r=matklad a=matklad

Introduce a `hir::Variable`, which should cover locals, parameters and `self`. Unlike `PatId`, variable knows it's owner so it is self-contained, and should be more convenient to use from `ra_ide_api`. 

The goal here is to hide more details about `Body` from hir, which should make it easier to move `Body` into `hir_def`. I don't think that `ra_ide_api` intrracts with bodies directly at the moment anyway, but the glue layer is based basically on `ast::BindPat`, which seems pretty brittle. 

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-11 11:48:02 +00:00
..
ra_arena
ra_assists Appease the linter by dummy doc comments 2019-11-04 22:33:21 +03:00
ra_batch Update crates 2019-11-07 13:05:12 -05:00
ra_cfg
ra_cli Bump psm, console, indicatif 2019-11-05 10:38:50 -05:00
ra_db Reexport relative_path from ra_db 2019-11-04 01:14:17 +03:00
ra_fmt
ra_hir Merge #2200 2019-11-11 11:48:02 +00:00
ra_hir_def Merge #2205 2019-11-11 10:53:24 +00:00
ra_hir_expand Add MacroDefKind 2019-11-11 18:48:16 +08:00
ra_ide_api Add hir::Local 2019-11-11 14:42:08 +03:00
ra_lsp_server Update crates 2019-11-07 13:05:12 -05:00
ra_mbe Remove typed macro parsing API 2019-11-09 13:14:10 +03:00
ra_parser cargo xtask format with 1.39 2019-11-07 09:44:45 -05:00
ra_prof show unaccounted for time in profiling 2019-10-24 09:14:33 +03:00
ra_project_model Overwrite the prelude with one defined in a later dependency 2019-11-10 13:15:47 -08:00
ra_syntax Forbid visibility qualifiers in traits 2019-11-11 11:26:57 +03:00
ra_text_edit introduce SingleFileChange 2019-10-25 11:49:38 +03:00
ra_tt Use macro_rules shift to map text ranges 2019-11-05 02:09:16 +08:00
ra_vfs_glob relative-path 1.0 2019-10-17 13:08:33 -04:00
test_utils support range selection in assist docs 2019-10-26 20:57:23 +03:00