Skip to content
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

Do not mention a reexported item if it's private #90127

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

JohnTitor
Copy link
Member

Fixes #90113
The actual regression was introduced in #73652, then #88838 made it worse. This fixes the issue by not counting such an import as a candidate.

@rust-highfive
Copy link
Collaborator

r? @estebank

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 21, 2021
@estebank
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Oct 24, 2021

📌 Commit 3b2dd70 has been approved by estebank

@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 Oct 24, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 25, 2021
…askrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#89889 (Use the "nice E0277 errors"[1] for `!Send` `impl Future` from foreign crate)
 - rust-lang#90127 (Do not mention a reexported item if it's private)
 - rust-lang#90143 (tidy: Remove submodules from edition exception list)
 - rust-lang#90238 (Add alias for guillaume.gomez@huawei.com)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit c734a9e into rust-lang:master Oct 25, 2021
@rustbot rustbot added this to the 1.58.0 milestone Oct 25, 2021
@JohnTitor JohnTitor deleted the fix-90113 branch October 25, 2021 11:46
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

regression: rustc incorrectly claims that enum variant is inaccessible
5 participants