rust/crates
bors[bot] 848e817f60
Merge #7083
7083: Refactor mbe parsing code r=edwin0cheng a=edwin0cheng

Inspire by #5426 , this PR refactor out the parsing code such that it only parsed on `mbe::Rule`, but not on invocations. 

However, it just improve the overall performance unnoticeablely :( 

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-12-30 00:39:29 +00:00
..
arena
assists Avoid a couple of allocations 2020-12-29 14:35:49 +02:00
base_db Pass crate environment to proc macros 2020-12-27 15:29:47 +01:00
cfg Remove some redundant allocations 2020-12-12 12:27:09 -05:00
completion Avoid a couple of allocations 2020-12-29 14:35:49 +02:00
flycheck
hir Merge #7021 2020-12-24 12:04:28 +00:00
hir_def Avoid a couple of allocations 2020-12-29 14:35:49 +02:00
hir_expand Pass crate environment to proc macros 2020-12-27 15:29:47 +01:00
hir_ty Merge #7021 2020-12-24 12:04:28 +00:00
ide Avoid a couple of allocations 2020-12-29 14:35:49 +02:00
ide_db Avoid a couple of allocations 2020-12-29 14:35:49 +02:00
mbe Refactor mbe parsing code 2020-12-30 02:51:06 +08:00
parser Fix mbe fail to pass expr with attr 2020-12-28 19:53:00 +08:00
paths
proc_macro_api Pass crate environment to proc macros 2020-12-27 15:29:47 +01:00
proc_macro_srv Pass crate environment to proc macros 2020-12-27 15:29:47 +01:00
proc_macro_test
profile
project_model Fun times with rustfmt 2020-12-17 10:24:58 -08:00
rust-analyzer Avoid a couple of allocations 2020-12-29 14:35:49 +02:00
ssr
stdx
syntax Merge #7027 2020-12-24 08:44:52 +00:00
test_utils Make config.rs a single source of truth for configuration. 2020-12-08 19:25:41 +03:00
text_edit
toolchain
tt Move TokenExpander to base_db and rename it 2020-12-27 15:29:47 +01:00
vfs Merge #6785 2020-12-09 16:32:03 +00:00
vfs-notify