[NLL] Fix ICE when a borrow wrapped in a temporary is used after dropped#49808
[NLL] Fix ICE when a borrow wrapped in a temporary is used after dropped#49808bors merged 2 commits intorust-lang:masterfrom
Conversation
5a97467 to
5934079
Compare
95f143d to
9b704ae
Compare
9b704ae to
54d1569
Compare
There was a problem hiding this comment.
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