diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-20 16:09:22 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-20 16:09:22 +0000 |
commit | e62533c3ec74358d3488e8e4b7967c78459b238f (patch) | |
tree | cd1fe4ad8f6a19b44678e1389c0c7553a6d11036 /crates/cfg | |
parent | 9d10aa09726f38d184d499c0a04f8ba4bc1c2bba (diff) | |
parent | c5ed2284b5733dcaf8b57b1771c441afc39fa5e7 (diff) |
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 <[email protected]>
Diffstat (limited to 'crates/cfg')
0 files changed, 0 insertions, 0 deletions