Skip to content

rustdoc: Render <Self as X>::Y type casts properly across crate bounds #86449

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 1 commit into from
Jun 26, 2021

Conversation

Stupremee
Copy link
Member

@Stupremee Stupremee commented Jun 18, 2021

My last PR that introduced the type casting did not work for cross-crate re-exported traits, which is fixed in this PR.

Fully resolves #85454

@rust-highfive
Copy link
Contributor

r? @GuillaumeGomez

(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 Jun 18, 2021
@GuillaumeGomez
Copy link
Member

Small nits but otherwise looks good to me, thanks!

@Stupremee Stupremee force-pushed the render-self-cast-in-type-bound branch from 9e47971 to f14bdb5 Compare June 18, 2021 21:41
@Stupremee Stupremee requested a review from GuillaumeGomez June 26, 2021 10:22
@GuillaumeGomez
Copy link
Member

Thanks!

@bors: r+

@bors
Copy link
Collaborator

bors commented Jun 26, 2021

📌 Commit f14bdb5 has been approved by GuillaumeGomez

@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 Jun 26, 2021
@bors
Copy link
Collaborator

bors commented Jun 26, 2021

⌛ Testing commit f14bdb5 with merge 3ddb78a...

@bors
Copy link
Collaborator

bors commented Jun 26, 2021

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing 3ddb78a to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 26, 2021
@bors bors merged commit 3ddb78a into rust-lang:master Jun 26, 2021
@rustbot rustbot added this to the 1.55.0 milestone Jun 26, 2021
@Stupremee Stupremee deleted the render-self-cast-in-type-bound branch June 26, 2021 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. 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.

rustdoc removes Try from <Self as Try>::Residual in std::ops::FromResidual
5 participants