rust/compiler/rustc_resolve/src
bors fc5af18133 Auto merge of #144272 - petrochenkov:disambunder2, r=oli-obk
resolve: Make disambiguators for underscore bindings module-local (take 2)

The difference with https://github.com/rust-lang/rust/pull/144013 can be seen in the second commit.

Now we just keep a separate disambiguator counter in every `Module`, instead of a global counter in `Resolver`.
This will be ok for parallel import resolution because we'll need to lock the module anyway when updating `resolutions` and other fields in it.
And for external modules the disabmiguator could be just passed as an argument to `define_extern`, without using any cells or locks, once https://github.com/rust-lang/rust/pull/143884 lands.

Unblocks https://github.com/rust-lang/rust/pull/143884.
2025-07-24 09:50:20 +00:00
..
late inline CrateLoader inside of CStore 2025-07-18 13:16:09 +02:00
rustdoc Update tests to work with new DocFragment field and redundant_explicit_links new API 2025-06-23 16:02:34 +02:00
build_reduced_graph.rs Auto merge of #144272 - petrochenkov:disambunder2, r=oli-obk 2025-07-24 09:50:20 +00:00
check_unused.rs replace binding and shadowed_glob on NameResolution with non_glob_binding and glob_binding 2025-07-12 15:06:32 +02:00
def_collector.rs Fix ice for feature-gated cfg attributes applied to the crate 2025-07-15 23:28:15 +02:00
diagnostics.rs inline CrateLoader inside of CStore 2025-07-18 13:16:09 +02:00
effective_visibilities.rs resolve: Change &mut Resolver to &Resolver when possible 2025-07-17 02:09:01 +03:00
errors.rs Ports #[macro_use] and #[macro_escape] to the new attribute parsing infrastructure 2025-07-23 13:33:23 +02:00
ident.rs resolve: Change &mut Resolver to &Resolver when possible 2025-07-17 02:09:01 +03:00
imports.rs resolve: Change the underscore disambiguator to avoid regressions 2025-07-23 16:07:44 +03:00
late.rs rename emit_unless to emit_unless_delay 2025-07-19 01:49:19 +08:00
lib.rs resolve: Change the underscore disambiguator to avoid regressions 2025-07-23 16:07:44 +03:00
macros.rs Auto merge of #144272 - petrochenkov:disambunder2, r=oli-obk 2025-07-24 09:50:20 +00:00
rustdoc.rs Improve path segment joining. 2025-07-17 08:37:19 +10:00