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
..
2019-11-07 13:05:12 -05:00
2019-11-05 10:38:50 -05:00
2019-11-04 01:14:17 +03:00
2019-11-11 11:48:02 +00:00
2019-11-11 10:53:24 +00:00
2019-11-11 18:48:16 +08:00
2019-11-11 14:42:08 +03:00
2019-11-07 13:05:12 -05:00
2019-11-09 13:14:10 +03:00
2019-11-07 09:44:45 -05:00
2019-10-25 11:49:38 +03:00