resolve: Split `Scope::Module` into two scopes for non-glob and glob bindings
This is a re-implementation of https://github.com/rust-lang/rust/pull/144131 with all the issues mentioned there fixed.
As it turned out, the non-trivial part of the split was already done in https://github.com/rust-lang/rust/pull/149454/commits/c91b6ca58d4d870d3099db1defbd8c1f26a7d851, 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 (
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| messages.ftl | ||
| README.md | ||
For more information about how rustc works, see the rustc dev guide.