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 private types from other crates as impl candidates #99091

Merged

Conversation

compiler-errors
Copy link
Member

Fixes #99080

@rust-highfive
Copy link
Collaborator

r? @lcnr

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

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jul 9, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 9, 2022
@compiler-errors compiler-errors force-pushed the private-types-should-stay-private branch from 51f26c6 to 21d8030 Compare July 9, 2022 19:30
@compiler-errors compiler-errors force-pushed the private-types-should-stay-private branch from 21d8030 to 913023b Compare July 11, 2022 07:06
@lcnr
Copy link
Contributor

lcnr commented Jul 11, 2022

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jul 11, 2022

📌 Commit 913023b has been approved by lcnr

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 Jul 11, 2022
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 11, 2022
…d-stay-private, r=lcnr

Do not mention private types from other crates as impl candidates

Fixes rust-lang#99080
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 11, 2022
Rollup of 5 pull requests

Successful merges:

 - rust-lang#98882 (explain doc comments in macros a bit)
 - rust-lang#98907 (Deny float const params even when `adt_const_params` is enabled)
 - rust-lang#99091 (Do not mention private types from other crates as impl candidates)
 - rust-lang#99140 (Implement `SourceMap::is_span_accessible`)
 - rust-lang#99147 (Mention similarly named associated type even if it's not clearly in supertrait)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 93f71d4 into rust-lang:master Jul 11, 2022
@rustbot rustbot added this to the 1.64.0 milestone Jul 11, 2022
@compiler-errors compiler-errors deleted the private-types-should-stay-private branch August 11, 2023 20:14
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.

"The following types implement trait..." suggets crate private items, if inside macro.
6 participants