rust/crates
bors[bot] 7a59cd49ff
Merge #4035
4035: Convert bool to ident instead of literal in mbe r=matklad a=edwin0cheng

Fixed #1249

Currently we treat boolean literal as `tt::Literal` , which makes parsing $lit:lit matcher easily.
However, proc-macro2 treat boolean literal as `ident` :

4173a21dc4/src/lib.rs (L939)

OT: I am quite happy we finally need to fix this bug :)

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-04-18 19:36:37 +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 missing match arm diagnostic support enum record type 2020-04-18 05:54:56 -07:00
ra_ide Add semantic tag for unresolved references 2020-04-18 21:28:51 +02:00
ra_ide_db Don't expose SyntaxNodePtr impl details 2020-04-16 21:01:04 +02:00
ra_mbe Convert bool to ident instead of literal in mbe 2020-04-19 03:24:17 +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 Add semantic tag for unresolved references 2020-04-18 21:28:51 +02: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