diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-25 11:16:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 11:16:38 +0200 |
| commit | 9c257e59c2a2018a40e9d487277b44ef5a0c890c (patch) | |
| tree | 73fa7d06df74148b37be7a53815051fbbd09af11 /compiler/rustc_interface/src | |
| parent | 405b2e6c06a92567cf93cba3fa1f0a5fd706be0f (diff) | |
| parent | 9ffa77523284d9301a2dacdf0e1064844d640592 (diff) | |
| download | rust-9c257e59c2a2018a40e9d487277b44ef5a0c890c.tar.gz rust-9c257e59c2a2018a40e9d487277b44ef5a0c890c.zip | |
Rollup merge of #144368 - petrochenkov:rmrootscope, r=b-naber
resolve: Remove `Scope::CrateRoot` Use `Scope::Module` with the crate root module inside instead, which should be identical. This is a simplification by itself, but it will be even larger simplification if something like https://github.com/rust-lang/rust/pull/144131 is implemented, because `Scope::CrateRoot` is also a module with two actual scopes in it (for globs and non-globs). I also did some renamings for consistency: - `ScopeSet::AbsolutePath` -> `ScopeSet::ModuleAndExternPrelude` - `ModuleOrUniformRoot::CrateRootAndExternPrelude` -> `ModuleOrUniformRoot::ModuleAndExternPrelude` - `is_absolute_path` -> `module_and_extern_prelude`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
