bors[bot] 47a70aadce
Merge #7375
7375: Add support for running name resolution in block expressions r=jonas-schievink a=jonas-schievink

This adds a `block_def_map` query that runs the name resolution algorithm on a block expression, and returns a `DefMap` that stores links to the parent `DefMap` (either the containing block or the crate-level `DefMap`). Blocks with no inner items return the parent's `DefMap` as-is, to avoid creating unnecessarily long `DefMap` chains.

Path resolution is updated to recurse into the parent `DefMap` after looking up a path in the original `DefMap`.

I've added a few new tests for this, but outside of those this isn't used yet.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-01-21 15:28:40 +00:00
..
2021-01-03 14:43:29 +01:00
2021-01-19 19:07:33 +00:00
2021-01-11 08:27:16 -05:00
2021-01-20 16:09:22 +00:00
2021-01-21 10:29:19 +02:00
⬆️ rowan
2021-01-20 14:04:53 +03:00
2021-01-18 23:19:53 +00:00
2021-01-18 13:13:24 -05:00
2021-01-18 19:39:46 +01:00
.
2021-01-20 01:56:11 +03:00
2021-01-21 09:31:06 -05:00
2021-01-09 15:41:29 +01:00
2021-01-05 02:00:46 +08:00
2021-01-12 18:01:47 +01:00