rust/crates
bors[bot] 98819d8919
Merge #4029
4029: Fix various proc-macro bugs r=matklad a=edwin0cheng

This PRs does the following things:

1. Fixed #4001 by splitting `LIFETIME` lexer token to two mbe tokens. It is because rustc token stream expects `LIFETIME` as a combination of punct and ident, but RA `tt:TokenTree` treats it as a single `Ident` previously.
2. Fixed #4003, by skipping `proc-macro` for completion. It is because currently we don't have `AstNode` for `proc-macro`. We would need to redesign how to implement `HasSource` for `proc-macro`.
3.  Fixed a bug how empty `TokenStream` merging in `proc-macro-srv` such that no L_DOLLAR and R_DOLLAR will be emitted accidentally. 


Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-04-18 17:56:54 +00:00
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Change add_function assist to use todo!() 2020-04-13 22:17:06 +02:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Merge #3727 2020-03-26 17:09:32 +00:00
ra_flycheck insta 0.16 2020-04-14 13:57:02 -04:00
ra_fmt Provide more complete AST accessors to support usage in rustc 2020-04-09 11:50:37 +02:00
ra_hir Merge #4029 2020-04-18 17:56:54 +00:00
ra_hir_def find_path: Builtins are always in scope 2020-04-18 12:06:22 +02:00
ra_hir_expand Simplify Diagnostic structure 2020-04-17 13:56:42 +02:00
ra_hir_ty Merge #4023 2020-04-18 08:48:08 +00:00
ra_ide Merge #4029 2020-04-18 17:56:54 +00:00
ra_ide_db Don't expose SyntaxNodePtr impl details 2020-04-16 21:01:04 +02:00
ra_mbe Split LIFETIME to two tokens in mbe 2020-04-18 19:28:07 +08:00
ra_parser Align grammar for record patterns and literals 2020-04-12 00:00:15 +02:00
ra_proc_macro Fix extern_process args 2020-04-17 04:08:01 +08:00
ra_proc_macro_srv Merge empty delim subtree in proc-macro 2020-04-18 19:29:04 +08:00
ra_prof Move timeit to stdx 2020-04-10 20:46:42 +02:00
ra_project_model Unmix error handling when discovering workspaces 2020-04-16 22:35:50 +02:00
ra_syntax Don't expose SyntaxNodePtr impl details 2020-04-16 21:01:04 +02:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
rust-analyzer Merge #3996 2020-04-17 09:31:57 +00:00
stdx Move timeit to stdx 2020-04-10 20:46:42 +02:00
test_utils Make records grammar more orthogonal 2020-04-11 19:20:41 +02:00