Skip to content

Conversation

@petrochenkov
Copy link
Contributor

Also, avoid creating fresh bindings and overwriting bindings in modules to update some fields in NameBindingData, when possible.
Instead, change the fields directly in NameBindingData using cells.

Unblocks #149195.

@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 30, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 30, 2025

r? @lcnr

rustbot has assigned @lcnr.
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

@rust-log-analyzer

This comment has been minimized.

instead of overwriting bindings in modules.
Do not overwrite unless necessary, and combine both globs instead of losing the first one.
instead of creating fresh bindings, except in one case.
@rustbot
Copy link
Collaborator

rustbot commented Dec 30, 2025

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@petrochenkov
Copy link
Contributor Author

r? @yaahc maybe

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

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants