rust-analyzer/crates
bors[bot] 4ad2e4ce4e Merge #1154
1154: Initial support for lang items (and str completion) r=flodiebold a=marcogroppo

This PR adds partial support for lang items.
For now, the only supported lang items are the ones that target an impl block.

Lang items are now resolved during type inference - this means that `str` completion now works.

Fixes #1139.

(thanks Florian Diebold for the help!)


Co-authored-by: Marco Groppo <marco.groppo@gmail.com>
2019-04-20 16:13:50 +00:00
..
gen_lsp_server cleanup cancellation 2019-04-17 11:47:38 +03:00
ra_arena Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_assists better formatting when adding trait members 2019-04-17 14:05:02 +03:00
ra_batch migrate to salsas interning 2019-04-09 22:51:22 +03:00
ra_cli Merge #1068 2019-04-03 09:09:11 +00:00
ra_db drop old interning infra 2019-04-09 22:52:06 +03:00
ra_fmt replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02:00
ra_hir lang_item_lookup is now a salsa query. 2019-04-20 00:29:16 +02:00
ra_ide_api New krate() method in Resolver. 2019-04-20 00:20:26 +02:00
ra_lsp_server cleanup cancellation 2019-04-17 11:47:38 +03:00
ra_mbe Disable test_tt_xx 2019-04-20 02:41:13 +08:00
ra_parser Add vis matcher 2019-04-19 21:38:26 +08:00
ra_prof fix test 2019-04-15 01:17:26 +03:00
ra_project_model Sends cwd info for runnables and code lenses 2019-04-14 10:04:38 +02:00
ra_syntax Merge #1154 2019-04-20 16:13:50 +00:00
ra_text_edit Disable fork feature for proptest 2019-03-23 08:57:07 +01:00
ra_tt make token trees eq 2019-02-12 20:57:13 +03:00
test_utils fix error on wrong path 2019-03-17 12:53:22 +03:00
thread_worker automatically wait for worker threads 2019-02-14 21:11:07 +03:00
tools Use EXE extension for pre-commit hook on Window 2019-03-27 07:52:59 +01:00