rust-analyzer/crates/ra_syntax/src
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
..
algo reformat the world 2019-02-08 14:49:43 +03:00
ast Merge #1154 2019-04-20 16:13:50 +00:00
parsing migrate to untyped rowan 2019-04-09 10:26:51 +03:00
validation Parse and infer tuple indices 2019-04-06 01:07:35 +02:00
algo.rs replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02:00
ast.rs migrate to untyped rowan 2019-04-09 10:26:51 +03:00
fuzz.rs Completely ignore errors for reparse fuzz 2019-03-22 08:09:11 +09:00
grammar.ron Merge #1154 2019-04-20 16:13:50 +00:00
lib.rs migrate to untyped rowan 2019-04-09 10:26:51 +03:00
parsing.rs Add classify_literal and undo expose next_token 2019-04-05 18:45:19 +08:00
ptr.rs replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02:00
string_lexing.rs simplify 2019-04-02 19:15:13 +03:00
syntax_error.rs Parse and infer tuple indices 2019-04-06 01:07:35 +02:00
syntax_node.rs replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02:00
syntax_text.rs switch to new rowan 2019-04-01 12:06:24 +03:00
validation.rs Parse and infer tuple indices 2019-04-06 01:07:35 +02:00