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
..
2020-04-14 13:57:02 -04:00
2020-04-18 17:56:54 +00:00
2020-04-18 08:48:08 +00:00
2020-04-18 17:56:54 +00:00
2020-04-17 04:08:01 +08:00
2020-04-10 20:46:42 +02:00
2020-04-10 00:17:32 +08:00
2020-04-17 09:31:57 +00:00
2020-04-10 20:46:42 +02:00