Uh oh!
There was an error while loading. Please reload this page.
Provide span for declaration of captured variables - #53164
Conversation
| } => | ||
| { | ||
| if !self.mir.upvar_decls.is_empty() && | ||
| original_path.strip_deref_projections() |
There was a problem hiding this comment.
hmm, is strip_deref_projections enough?
Try a case like this:
{let x = (vec![22],vec![44]);expect_fn(|| drop(x.0));}does that work?
There was a problem hiding this comment.
shouldn't we highlight something here?
There was a problem hiding this comment.
Oops, forgot to update the label logic with the same changes that made that branch get used in the first place for complex cases like this one. Fixed now.
3de543b to
3f71e12Comparenikomatsakis
commented
Aug 7, 2018
@bors r+ |
bors
commented
Aug 7, 2018
📌 Commit 3f71e12f72a7772c32638c2ecfb49a719ec4dcb4 has been approved by |
rust-highfive
commented
Aug 7, 2018
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 |
3f71e12 to
56232c6Comparedavidtwco
commented
Aug 7, 2018
Oops, fixed! |
Mark-Simulacrum
commented
Aug 7, 2018
@bors r=nikomatsakis |
bors
commented
Aug 7, 2018
📌 Commit 56232c6 has been approved by |
…tured-variables, r=nikomatsakis Provide span for declaration of captured variables Part of rust-lang#52663. r? @nikomatsakis
…tured-variables, r=nikomatsakis Provide span for declaration of captured variables Part of rust-lang#52663. r? @nikomatsakis
bors
commented
Aug 13, 2018
⌛ Testing commit 56232c6 with merge 6671494d4d7bb088db3c37a2a4c3adf84b245029... |
bors
commented
Aug 13, 2018
💔 Test failed - status-travis |
rust-highfive
commented
Aug 13, 2018
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 |
nikomatsakis
commented
Aug 13, 2018
@bors retry |
bors
commented
Aug 13, 2018
⌛ Testing commit 56232c6 with merge 89cf35c978c626cd2db98b3bc904a9e55fa35c57... |
bors
commented
Aug 14, 2018
💔 Test failed - status-travis |
rust-highfive
commented
Aug 14, 2018
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 |
kennytm
commented
Aug 14, 2018
|
kennytm
commented
Aug 14, 2018
@bors r- Merge conflict. |
56232c6 to
5532e9dComparedavidtwco
commented
Aug 14, 2018
Rebased. |
nikomatsakis
commented
Aug 15, 2018
@bors r+ |
bors
commented
Aug 15, 2018
📌 Commit 5532e9d has been approved by |
bors
commented
Aug 15, 2018
…bles, r=nikomatsakis Provide span for declaration of captured variables Part of #52663. r? @nikomatsakis
bors
commented
Aug 15, 2018
☀️ Test successful - status-appveyor, status-travis |
Part of #52663.
r? @nikomatsakis