rustc_mir: allow promotion of promotable temps indexed at runtime.#50603
rustc_mir: allow promotion of promotable temps indexed at runtime.#50603bors merged 5 commits intorust-lang:masterfrom
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 |
|
☔ The latest upstream changes (presumably #50249) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
It'd be nice to have an example of some Rust code where this applies, for those of us whose brains are tired
There was a problem hiding this comment.
Can you put a comment here? What does this else indicate? I can't see it in the diff, it'll also be hard to tell when reading. Something like:
// Not a mut borrow
(Is that right? I'm guessing)
There was a problem hiding this comment.
Hmm maybe I should split this part into its own commit, it's a straight-forward translation of the old code, but it's mixed in with new parts.
|
@bors r+ |
|
📌 Commit d1f117d has been approved by |
rustc_mir: allow promotion of promotable temps indexed at runtime. Fixes #49955. r? @nikomatsakis
|
☀️ Test successful - status-appveyor, status-travis |
Fixes #49955.
r? @nikomatsakis