rust/crates
bors[bot] 4a3ef8fe63 Merge #370
370: Self params & type r=matklad a=flodiebold

This implements type inference for `self`, so field completion for methods taking `self` works now.

 - rename `IMPL_ITEM` to `IMPL_BLOCK` -- rustc calls the methods etc. inside an impl `ImplItem`s, and the impl itself doesn't define an item, so I thought this name was clearer.
 - add HIR for impl blocks -- we collect all impls in a crate at once, so we can go from methods to containing impls, and since we will later also need to find all impls for a certain type (which may be anywhere in the crate, I think?). We could be more lazy here, but I don't know if it's worth the complexity.
 - resolve `self` and `Self` during type inference
 - refactor a bit in ty.rs as well

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2019-01-04 19:55:23 +00:00
..
gen_lsp_server Bump serde_json from 1.0.33 to 1.0.34 2018-12-31 09:48:16 +00:00
ra_analysis Merge #370 2019-01-04 19:55:23 +00:00
ra_arena remove id arena 2019-01-04 16:58:10 +03:00
ra_cli generalize extend selection to work with nodes 2018-12-31 19:01:51 +03:00
ra_db ⬆️ salsa 2019-01-04 22:31:13 +03:00
ra_editor Rename ImplItem to ImplBlock 2019-01-04 18:28:36 +01:00
ra_hir Merge #370 2019-01-04 19:55:23 +00:00
ra_lsp_server Rename ImplItem to ImplBlock 2019-01-04 18:28:36 +01:00
ra_syntax Rename traits::impl_item -> impl_block as well, as well as the tests 2019-01-04 19:15:15 +01:00
ra_text_edit more enterprisey assists API 2019-01-03 18:59:17 +03:00
ra_vfs extract area to a crate 2019-01-04 16:58:10 +03:00
test_utils Bump serde_json from 1.0.33 to 1.0.34 2018-12-31 09:48:16 +00:00
thread_worker ⬆️ crossbeam 2018-12-30 23:23:31 +03:00
tools Add a fuzzing subcommand 2018-12-31 13:14:06 +00:00