Skip to content

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Aug 10, 2019

Closes #60253 as a byproduct.

It turns out that it is in fact necessary to have a DropTemps(...) around the match_expr and there is a test (https://github.com/rust-lang/rust/blob/master/src/test/ui/issues/issue-13304.rs) which fails without that.

r? @eddyb

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 10, 2019
@eddyb
Copy link
Member

eddyb commented Aug 10, 2019

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 10, 2019

📌 Commit 8758d7f has been approved by eddyb

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 10, 2019
Centril added a commit to Centril/rust that referenced this pull request Aug 10, 2019
Cleanup & Simplify stuff in lowering

Closes rust-lang#60253 as a byproduct.

It turns out that it is in fact necessary to have a `DropTemps(...)` around the `match_expr` and there is a test (https://github.com/rust-lang/rust/blob/master/src/test/ui/issues/issue-13304.rs) which fails without that.

r? @eddyb
bors added a commit that referenced this pull request Aug 10, 2019
Rollup of 4 pull requests

Successful merges:

 - #63400 (Try to break resolve into more isolated parts)
 - #63425 (Cleanup historical stability comments)
 - #63429 (.gitignore: Readd `/tmp/`)
 - #63432 (Cleanup & Simplify stuff in lowering)

Failed merges:

r? @ghost
@bors bors merged commit 8758d7f into rust-lang:master Aug 10, 2019
@Centril Centril deleted the simplify-lowering branch August 10, 2019 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do for loops still need to be a terminating scope?
4 participants