Skip to content

Conversation

sinkuu
Copy link
Contributor

@sinkuu sinkuu commented May 3, 2018

Fixes #50358.

Populates cx.impl_trait_bounds incrementally while cleaning generic params, so that a synthetic type-parameter can refer to previous ones.

cc #50366

@rust-highfive
Copy link
Contributor

r? @frewsxcv

(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 May 3, 2018
@sinkuu sinkuu force-pushed the rustdoc_nested_impl_trait branch from 1b1560e to 14f32f6 Compare May 3, 2018 13:34
@GuillaumeGomez
Copy link
Member

Way better! Thanks for it! :)

@pietroalbini pietroalbini added the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 4, 2018
@QuietMisdreavus
Copy link
Contributor

I like this! Thanks so much for posting the fix!

@bors r+

@bors
Copy link
Collaborator

bors commented May 4, 2018

📌 Commit 14f32f6 has been approved by QuietMisdreavus

@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 May 4, 2018
@pietroalbini
Copy link
Member

Can we get this into beta?

@bors
Copy link
Collaborator

bors commented May 5, 2018

⌛ Testing commit 14f32f6 with merge 5d6c757...

bors added a commit that referenced this pull request May 5, 2018
…eavus

rustdoc: Resolve nested `impl Trait`s

Fixes #50358.

Populates `cx.impl_trait_bounds` incrementally while `clean`ing generic params, so that a synthetic type-parameter can refer to previous ones.

cc #50366
@bors
Copy link
Collaborator

bors commented May 5, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: QuietMisdreavus
Pushing 5d6c757 to master...

@bors bors merged commit 14f32f6 into rust-lang:master May 5, 2018
@alexcrichton alexcrichton added the beta-accepted Accepted for backporting to the compiler in the beta channel. label May 6, 2018
@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 6, 2018
bors added a commit that referenced this pull request May 6, 2018
[beta] Process backports

* #50419: rustdoc: Resolve nested `impl Trait`s
* #50474: Fix ICE in assertion macro

r? @Mark-Simulacrum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. 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.

8 participants