Skip to content

Propose backport of "Fix self referential impl Trait substitutions" #50737

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

leoyvens
Copy link
Contributor

@leoyvens leoyvens commented May 14, 2018

Backport of #50694 which was a small fix for a significant issue.

r? @petrochenkov

A high impact bug because a lot of common traits use a `Self`
substitution by default. Should be backported to beta.

There was a check for this which wasn't catching all cases, it was made
more robust.

Fixes rust-lang#49376
Fixes rust-lang#50626

r? @petrochenkov
@rust-highfive
Copy link
Contributor

warning Warning warning

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 14, 2018
@leoyvens leoyvens changed the title Propose backport of Fix self referential impl Trait substitutions Propose backport of "Fix self referential impl Trait substitutions" May 14, 2018
@petrochenkov petrochenkov added the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 14, 2018
@petrochenkov
Copy link
Contributor

petrochenkov commented May 14, 2018

I don't know what is the process for accepting backports to beta.
r? @nikomatsakis

@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 14, 2018
@pietroalbini
Copy link
Member

The beta-* labels should be on the original PR, not in the backport :)
Also, maybe we can merge this backport (if it's accepted) into #50741, to avoid filling up the bors queue.

@pietroalbini
Copy link
Member

The queue is long enough, let's not have two different backport PRs open. Cherry-picked this into #50741.

# for free to join this conversation on GitHub. Already have an account? # 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.

5 participants