Skip to content

Optimize pub(crate) and pub(self) visibility resolution #20009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 15, 2025

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jun 15, 2025

Extracted from #20001

These are very common visibility qualifiers (pub(self) being implied), and we can special case them quite easily to skip path resolution entirely for them.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 15, 2025
@Veykril Veykril force-pushed the push-rvnnorzvpnqv branch from acfa384 to b3768cd Compare June 15, 2025 08:25
@Veykril Veykril enabled auto-merge June 15, 2025 08:27
@Veykril Veykril added this pull request to the merge queue Jun 15, 2025
Merged via the queue into rust-lang:master with commit 3d9daee Jun 15, 2025
14 checks passed
@Veykril Veykril deleted the push-rvnnorzvpnqv branch June 15, 2025 08:47
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants