diff options
| author | bors <bors@rust-lang.org> | 2025-08-13 22:52:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-08-13 22:52:17 +0000 |
| commit | e7d8d34eae23bd91164510b03e6b239ccbcfdf07 (patch) | |
| tree | 3cf1badc9a1556f2af394445e9055acf12ca6069 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | cf42ac6bf2e8effc1d84bdaec16531a6cbb42f62 (diff) | |
| parent | cb3dedc6244493f2c36bf3d8f115e120faa91710 (diff) | |
| download | rust-e7d8d34eae23bd91164510b03e6b239ccbcfdf07.tar.gz rust-e7d8d34eae23bd91164510b03e6b239ccbcfdf07.zip | |
Auto merge of #144793 - petrochenkov:extprel3, r=davidtwco
resolve: Split extern prelude into two scopes One scope for `extern crate` items and another for `--extern` options, with the former shadowing the latter. If in a single scope some things can overwrite other things, especially with ad hoc restrictions like `MacroExpandedExternCrateCannotShadowExternArguments`, then it's not really a single scope. So this PR splits `Scope::ExternPrelude` into two cleaner scopes. This is similar to how https://github.com/rust-lang/rust/pull/144131 splits module scope into two scopes for globs and non-globs, but simpler.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
