Skip to content

Conversation

@petrochenkov
Copy link
Contributor

It allows to get rid of AmbiguityErrorMisc, Flags and extern_prelude_flag_binding.

Also keep all encountered bindings in resolve_ident_in_scope_set, it allows to get rid of extern_prelude_item_binding.

This also unblocks #149681 because the newly preserved data will help to fix the regressions in #149681 (comment) in a reasonable way.

@rustbot
Copy link
Collaborator

rustbot commented Dec 27, 2025

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 27, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 27, 2025

r? @nnethercote

rustbot has assigned @nnethercote.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@nnethercote
Copy link
Contributor

Nice cleanup.

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 1, 2026

📌 Commit b018f42 has been approved by nnethercote

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 1, 2026
bors added a commit that referenced this pull request Jan 2, 2026
Rollup of 3 pull requests

Successful merges:

 - #150073 (Make `asm_experimental_arch` work in `allow_internal_unstable` macros)
 - #150445 (resolve: Preserve binding scopes in ambiguity errors)
 - #150580 (Document `panic!` in `Iterator::last` for #149707)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 97050d4 into rust-lang:main Jan 2, 2026
11 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Jan 2, 2026
rust-timer added a commit that referenced this pull request Jan 2, 2026
Rollup merge of #150445 - petrochenkov:keepscope, r=nnethercote

resolve: Preserve binding scopes in ambiguity errors

It allows to get rid of `AmbiguityErrorMisc`, `Flags` and `extern_prelude_flag_binding`.

Also keep all encountered bindings in `resolve_ident_in_scope_set`, it allows to get rid of `extern_prelude_item_binding`.

This also unblocks #149681 because the newly preserved data will help to fix the regressions in #149681 (comment) in a reasonable way.
@bors
Copy link
Collaborator

bors commented Jan 2, 2026

⌛ Testing commit b018f42 with merge 1b43252...

@jhpratt
Copy link
Member

jhpratt commented Jan 4, 2026

@bors retry r- (sync)

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jan 13, 2026
resolve: Refactor away the side table `decl_parent_modules`

Instead keep parent modules in `DeclData` itself.
Follow up to rust-lang#150445.

r? @nnethercote
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jan 14, 2026
resolve: Refactor away the side table `decl_parent_modules`

Instead keep parent modules in `DeclData` itself.
Follow up to rust-lang#150445.

r? @nnethercote
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jan 14, 2026
resolve: Refactor away the side table `decl_parent_modules`

Instead keep parent modules in `DeclData` itself.
Follow up to rust-lang#150445.

r? @nnethercote
rust-timer added a commit that referenced this pull request Jan 14, 2026
Rollup merge of #150877 - declmod, r=nnethercote

resolve: Refactor away the side table `decl_parent_modules`

Instead keep parent modules in `DeclData` itself.
Follow up to #150445.

r? @nnethercote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants