-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NLL] Fix ICE when a borrow wrapped in a temporary is used after dropped #49808
Conversation
5a97467
to
5934079
Compare
95f143d
to
9b704ae
Compare
9b704ae
to
54d1569
Compare
} | ||
|
||
err.span_label( | ||
mir.source_info(p).span, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually maybe we can just do mir.local_decls[local].source_info.span
here and not bother to search for locals?
54d1569
to
937886e
Compare
ht @nickfrostatx for the first initial patch
937886e
to
2c79f64
Compare
@bors r+ |
📌 Commit 2c79f64 has been approved by |
⌛ Testing commit 2c79f64 with merge 63331dca5476098f01aeb9f9ea65ccb6a26ae65c... |
💔 Test failed - status-travis |
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
1 similar comment
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
@bors retry "Cannot connect to the Docker daemon"..looks spurious to me |
@bors p=3 |
[NLL] Fix ICE when a borrow wrapped in a temporary is used after dropped Fixes #47646 r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
Fixes #47646
r? @nikomatsakis