rust/crates
bors[bot] e62533c3ec
Merge #7359
7359: ItemTree: store a mapping from blocks to inner items r=jonas-schievink a=jonas-schievink

To do name resolution within block expressions, we need to know which inner items are located inside each block expression. This adds such a mapping to `ItemTree`, replacing the previous one, which was seemingly unused other than to access all the inner items.

This also assigns `AstId`s to block expressions, which is needed to store the mapping in salsa.

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-01-20 16:09:22 +00:00
..
assists . 2021-01-20 01:56:11 +03:00
base_db Fix warnings when running cargo doc --document-private-items 2021-01-18 16:44:40 -05:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
completion Merge #7351 2021-01-19 19:07:33 +00:00
flycheck Unfreeze cargo_metadata 2021-01-11 08:27:16 -05:00
hir Make public DefMap fields private 2021-01-20 15:41:18 +01:00
hir_def Merge #7359 2021-01-20 16:09:22 +00:00
hir_expand Merge #7359 2021-01-20 16:09:22 +00:00
hir_ty Make public DefMap fields private 2021-01-20 15:41:18 +01:00
ide Avoid intermediate collections 2021-01-20 14:49:29 +03:00
ide_db Make public DefMap fields private 2021-01-20 15:41:18 +01:00
mbe ⬆️ rowan 2021-01-20 14:04:53 +03:00
parser Merge #7341 2021-01-18 23:19:53 +00:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Enable serde_json unbounded_depth feature 2021-01-18 14:04:20 +02:00
proc_macro_srv cargo update 2021-01-18 13:13:24 -05:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Add back jemalloc support 2021-01-18 19:39:46 +01:00
project_model Avoid blocking the main loop when editing Cargo.toml 2021-01-18 14:52:12 +03:00
rust-analyzer Update pico-args 2021-01-19 11:56:45 -05:00
ssr . 2021-01-20 01:56:11 +03:00
stdx Fix warnings when running cargo doc --document-private-items 2021-01-18 16:44:40 -05:00
syntax ⬆️ rowan 2021-01-20 14:04:53 +03:00
test_utils Fixed typos in code comments 2021-01-09 15:41:29 +01:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Document vfs private items 2021-01-12 18:01:47 +01:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00