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 | 8e7795415acaa9471b5eeb2301915d6996d289ec (patch) | |
| tree | 0cc05793488d656154d1010c2f3d7d84ceb8b608 /compiler/rustc_pattern_analysis/src | |
| parent | 3672a55b7cfd0a12e7097197b6242872473ffaa7 (diff) | |
| parent | 9aa6cb5e56bc1987974bfa176e68281edd56ca8d (diff) | |
| download | rust-8e7795415acaa9471b5eeb2301915d6996d289ec.tar.gz rust-8e7795415acaa9471b5eeb2301915d6996d289ec.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_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
