Skip to content

Conversation

nnethercote
Copy link
Contributor

Two HIR tweaks that make things slightly simpler and faster.

It's simpler and makes some benchmark run up to 1% faster. It also makes
`hir::ExprKind` more like `ast::ExprKind` (which underwent the
equivalent change in rust-lang#55777).
It's identical to `ast::Label`.
@rust-highfive
Copy link
Contributor

r? @oli-obk

(rust_highfive has picked a reviewer for you, use r? to override)

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

Thanks, @nnethercote!

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jan 16, 2019

📌 Commit dc45528 has been approved by michaelwoerister

@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 Jan 16, 2019
@nnethercote
Copy link
Contributor Author

Should these wait until 1.32 releases/branches, to avoid causing problems for tools like clippy?

@michaelwoerister
Copy link
Member

Yeah, better safe than sorry.

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 17, 2019
@nnethercote
Copy link
Contributor Author

1.32 has been released.

@bors r=michaelwoerister

@bors
Copy link
Collaborator

bors commented Jan 17, 2019

📌 Commit dc45528 has been approved by michaelwoerister

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 17, 2019
Centril added a commit to Centril/rust that referenced this pull request Jan 18, 2019
…woerister

Two HIR tweaks

Two HIR tweaks that make things slightly simpler and faster.
Centril added a commit to Centril/rust that referenced this pull request Jan 18, 2019
…woerister

Two HIR tweaks

Two HIR tweaks that make things slightly simpler and faster.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jan 18, 2019
…woerister

Two HIR tweaks

Two HIR tweaks that make things slightly simpler and faster.
Centril added a commit to Centril/rust that referenced this pull request Jan 18, 2019
…woerister

Two HIR tweaks

Two HIR tweaks that make things slightly simpler and faster.
bors added a commit that referenced this pull request Jan 18, 2019
Rollup of 11 pull requests

Successful merges:

 - #57107 (Add a regression test for mutating a non-mut #[thread_local])
 - #57132 (Document that `-C opt-level=0` implies `-C debug-assertions`.)
 - #57212 (docs(rustc): Link to the book's source in rustc)
 - #57302 (Fix unused_assignments false positive)
 - #57350 (Better error note on unimplemented Index trait for string)
 - #57635 (use structured macro and path resolve suggestions)
 - #57650 (librustc_metadata: Pass a default value when unwrapping a span)
 - #57657 (Add regression test to close #53787)
 - #57658 (Two HIR tweaks)
 - #57720 (Fix suggestions given mulitple bad lifetimes)
 - #57725 (Use structured suggestion to surround struct literal with parenthesis)

Failed merges:

r? @ghost
@bors bors merged commit dc45528 into rust-lang:master Jan 19, 2019
@nnethercote nnethercote deleted the rm-hir-P-Lit branch January 21, 2019 20:42
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.

5 participants