Skip to content

Stop using gensyms in HIR lowering - #60960

Merged
bors merged 1 commit into
rust-lang:masterfrom
matthewjasper:remove-lowering-gensym
May 20, 2019
Merged

Stop using gensyms in HIR lowering#60960
bors merged 1 commit into
rust-lang:masterfrom
matthewjasper:remove-lowering-gensym

Conversation

@matthewjasper

Copy link
Copy Markdown
Contributor

These names aren't ever handled by resolve, so there's no reason to
make them gensyms.

Diagnostics wanting to behave differently for these variables should
inspect either the MatchSource/LocalSource or the Span. All
current diagnostics appear to do this.

r? @petrochenkov

These names aren't ever handled by resolve, so there's no reason to
make them gensyms.
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 19, 2019
@petrochenkov

Copy link
Copy Markdown
Contributor

Thanks!
@bors r+

@bors

bors commented May 19, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 6bb3980 has been approved by petrochenkov

@borsbors 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 May 19, 2019
Centril added a commit to Centril/rust that referenced this pull request May 19, 2019
…m, r=petrochenkov
Stop using gensyms in HIR lowering
These names aren't ever handled by resolve, so there's no reason to
make them gensyms.
Diagnostics wanting to behave differently for these variables should
inspect either the `MatchSource`/`LocalSource` or the `Span`. All
current diagnostics appear to do this.
r? @petrochenkov
@CentrilCentril mentioned this pull request May 19, 2019
bors added a commit that referenced this pull request May 20, 2019
Rollup of 6 pull requests
Successful merges:
- #60590 (Test interaction of unions with non-zero/niche-filling optimization)
- #60745 (Perform constant propagation into terminators)
- #60895 (Enable thumbv7a-pc-windows-msvc target build end to end in rust/master)
- #60908 (Fix lints handling in rustdoc)
- #60960 (Stop using gensyms in HIR lowering)
- #60962 (Fix data types indication)
Failed merges:
r? @ghost
@bors
bors merged commit 6bb3980 into rust-lang:masterMay 20, 2019
@matthewjasper
matthewjasper deleted the remove-lowering-gensym branch May 24, 2019 06:26
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

4 participants

@matthewjasper@petrochenkov@bors@rust-highfive