]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #90204 - cjgillot:owner-pull, r=michaelwoerister
authorbors <bors@rust-lang.org>
Thu, 31 Mar 2022 15:20:59 +0000 (15:20 +0000)
committerbors <bors@rust-lang.org>
Thu, 31 Mar 2022 15:20:59 +0000 (15:20 +0000)
Make lowering pull-based

~Based on https://github.com/rust-lang/rust/pull/90451~
Part of https://github.com/rust-lang/rust/pull/88186

The current lowering code visits all the item-likes in the AST in order, and lowers them one by one.
This PR changes it to index the AST and then proceed to lowering on-demand. This is closer to the logic of query-based lowering.


Trivial merge