enforce user annotations in closure signatures#55229
Conversation
|
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 |
|
Hmm I seem to be hitting some local errors that I didn't see at first :( |
1cc3d84 to
8c89a70
Compare
|
OK, should work now. We'll see what Travis thinks. |
|
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 |
matthewjasper
left a comment
There was a problem hiding this comment.
One thing that I'm not sure about. r=me with that addressed
|
☔ The latest upstream changes (presumably #52984) made this pull request unmergeable. Please resolve the merge conflicts. |
979fa31 to
2921fba
Compare
|
@bors r=MatthewJasper p=1 Giving p=1 because this is an RC2 blocker. |
In particular, after the first for a given region variable. This suppresses a lot of duplicate errors.
8bcb79b to
64b5599
Compare
|
@bors p=1 |
|
@bors r=MatthewJasper |
|
|
|
📌 Commit 64b5599 has been approved by |
|
📌 Commit 64b5599 has been approved by |
|
📌 Commit 64b5599 has been approved by |
1 similar comment
|
📌 Commit 64b5599 has been approved by |
|
⌛ Testing commit 64b5599 with merge 5639651ab8552188c4bc360761a82c602cefc114... |
|
⌛ Testing commit 64b5599 with merge 7fa5c7fcf77cf759bb0114afeac5b47ba3397b7f... |
|
💔 Test failed - status-appveyor |
|
@bors retry |
|
⌛ Testing commit 64b5599 with merge 1344e6f8fd074c9856840b6e5c14b80292f11018... |
|
💔 Test failed - status-appveyor |
|
Is this the reason the run failed? If so...interesting and unexpected. =) |
This fixes `issue-28848.rs` -- it also handles another case that the AST region checker gets wrong (`wf-self-type.rs`). I don't actually think that this is the *right way* to be enforcing this constraint -- I think we should probably do it more generally, perhaps by editing `predicates_of` for the impl itself. The chalk-style implied bounds setup ought to fix this.
This comment has been minimized.
This comment has been minimized.
|
@bors r=MatthewJasper Let's see if this is spurious or not. |
|
📌 Commit 4394c83 has been approved by |
|
I can't reproduce locally. |
…=MatthewJasper enforce user annotations in closure signatures Not *quite* ready yet but I'm opening anyway. Still have to finish running tests locally. Fixes #54692 Fixes #54124 r? @matthewjasper
|
☀️ Test successful - status-appveyor, status-travis |
Not quite ready yet but I'm opening anyway. Still have to finish running tests locally.
Fixes #54692
Fixes #54124
r? @matthewjasper