Commit 60ceea0
authored
Rollup merge of #149681 - petrochenkov:openapi1, r=davidtwco
resolve: Split `Scope::Module` into two scopes for non-glob and glob bindings
This is a re-implementation of rust-lang/rust#144131 with all the issues mentioned there fixed.
As it turned out, the non-trivial part of the split was already done in rust-lang/rust@c91b6ca, so the remaining part implemented in this PR is *mostly* mechanical.
After addressing the issue of already found bindings being lost due to indeterminacies in outer scopes (rust-lang/rust@7e890bf) and adding one missing `Stage::Late` in `Finalize` the scope splitting refactoring just worked.
(One more ICE was revealed by the refactoring, but not caused by it, fixed up in the last commit.)
This is a part of implementation for the [Open API](https://rust-lang.github.io/rust-project-goals/2025h1/open-namespaces.html) proposal.0 file changed
0 commit comments