bors[bot] fd84df9e1b
Merge #7541
7541: Use block_def_map in body lowering (third time's the charm) r=jonas-schievink a=jonas-schievink

After https://github.com/rust-analyzer/rust-analyzer/pull/7380 and https://github.com/rust-analyzer/rust-analyzer/pull/7506 both had to be reverted, this should have finally resolved all remaining bugs.

Most importantly, the optimization to skip `block_def_map` computation when the block contains no inner items was fixed (which fortunately was simpler than expected).

I've ran `analysis-stats` on libstd locally, which works fine, and also ran this PR locally for a short while without issues.

Note that this *still* has no (or almost no) user-facing impact, because the rest of r-a still relies on some local item support hacks.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2021-02-03 14:41:13 +00:00
..
2021-01-27 22:32:40 +01:00
2021-01-27 12:39:19 +03:00
2021-02-03 14:21:15 +01:00
2021-02-02 17:47:56 +03:00
2021-01-26 22:13:42 +03:00
2021-01-22 15:38:33 +01:00
2021-01-27 12:39:19 +03:00
.
2021-01-20 01:56:11 +03:00
2021-01-26 22:13:42 +03:00
2021-02-03 22:01:09 +08:00
2021-01-12 18:01:47 +01:00