Uh oh!
There was an error while loading. Please reload this page.
Clean up type alias impl trait implementation - #72080
Conversation
rust-highfive
commented
May 10, 2020
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
rust-highfive
commented
May 10, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
c808d4f to
8be87dfComparedavidtwco
commented
May 15, 2020
r? @eddyb |
bors
commented
May 21, 2020
☔ The latest upstream changes (presumably #70705) made this pull request unmergeable. Please resolve the merge conflicts. |
eddyb
commented
May 25, 2020
Sorry for not seeing this earlier. Also, I'm not the best person to review this (but I will go through it). |
eddyb
left a comment
There was a problem hiding this comment.
Seems pretty good, overall, especially all the removed code. I'll let @nikomatsakis take a closer look though.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
This needs to include the bound regions that the type captures.
There was a problem hiding this comment.
Is your intent to patch this code?
There was a problem hiding this comment.
Yes, although it ended up being a somewhat large change.
nikomatsakis
left a comment
There was a problem hiding this comment.
This all looks good. I left various comments and nits.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Is your intent to patch this code?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Since this also fixes #73061, it'd be good to add a regression test for that + add it to the "closes" list. |
jonhoo
commented
Jun 7, 2020
I wonder if this change is also going to make it easier to fix #65863. |
7245c19 to
51a6550Comparematthewjasper
commented
Jun 7, 2020
I don't think this helps with #65863, because this doesn't change the AST representation of impl trait types. |
jonhoo
commented
Jun 8, 2020
nikomatsakis
commented
Jun 10, 2020
@bors r+ |
bors
commented
Jun 10, 2020
📌 Commit 51a6550 has been approved by |
bors
commented
Jun 10, 2020
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
e9caf48 to
985f3a6Comparejonhoo
commented
Jun 11, 2020
@matthewjasper Oh, I'm sorry, I scrolled through looking for it, but it must have been collapsed by GitHub somehow! Sorry for the noise ❤️ |
rust-highfive
commented
Jun 11, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
985f3a6 to
8b10d42Comparematthewjasper
commented
Jun 11, 2020
@bors r=nikomatsakis |
bors
commented
Jun 11, 2020
📌 Commit 8b10d42 has been approved by |
bors
commented
Jun 15, 2020
RalfJung
commented
Jun 15, 2020
Somehow Windows x86_64 msvc-2 is almost at 4h now (and will likely timeout) even though it usually takes <3h. |
bors
commented
Jun 15, 2020
☀️ Test successful - checks-azure |
RalfJung
commented
Jun 15, 2020
Oh wow, it just barely made it. Nice :D |
…ikomatsakis Clean up type alias impl trait implementation - Removes special case for top-level impl trait - Removes associated opaque types - Forbid lifetime elision in let position impl trait. This is consistent with the behavior for inferred types. - Handle lifetimes in type alias impl trait more uniformly with other parameters cc rust-lang#69323 cc rust-lang#63063Closesrust-lang#57188Closesrust-lang#62988Closesrust-lang#69136Closesrust-lang#73061
Fix breakage due to rust-lang/rust#72080 See rust-lang/rust#72080.
cc #69323
cc #63063
Closes#57188
Closes#62988
Closes#69136
Closes#73061