Skip to content

rustc: Remove local variable IDs from Exports #88677

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 12, 2021

Conversation

petrochenkov
Copy link
Contributor

Local variables can never be exported.

@rust-highfive
Copy link
Contributor

Some changes occurred in src/tools/clippy.

cc @rust-lang/clippy

@rust-highfive
Copy link
Contributor

r? @davidtwco

(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 Sep 5, 2021
Copy link
Member

@davidtwco davidtwco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidtwco
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 6, 2021

📌 Commit 7f651948dea239fe45d6b1e564dc799ab4e3f894 has been approved by davidtwco

@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 Sep 6, 2021
@bors

This comment has been minimized.

@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 Sep 9, 2021
Local variables can never be exported.
@petrochenkov
Copy link
Contributor Author

@bors r=davidtwco

@bors
Copy link
Collaborator

bors commented Sep 10, 2021

📌 Commit 294510e has been approved by davidtwco

@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 Sep 10, 2021
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 11, 2021
rustc: Remove local variable IDs from `Export`s

Local variables can never be exported.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 11, 2021
rustc: Remove local variable IDs from `Export`s

Local variables can never be exported.
Manishearth added a commit to Manishearth/rust that referenced this pull request Sep 12, 2021
rustc: Remove local variable IDs from `Export`s

Local variables can never be exported.
Manishearth added a commit to Manishearth/rust that referenced this pull request Sep 12, 2021
rustc: Remove local variable IDs from `Export`s

Local variables can never be exported.
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 12, 2021
…arth

Rollup of 7 pull requests

Successful merges:

 - rust-lang#88336 ( Detect stricter constraints on gats where clauses in impls vs trait)
 - rust-lang#88677 (rustc: Remove local variable IDs from `Export`s)
 - rust-lang#88699 (Remove extra unshallow from cherry-pick checker)
 - rust-lang#88709 (generic_const_exprs: use thir for abstract consts instead of mir)
 - rust-lang#88711 (Rework DepthFirstSearch API)
 - rust-lang#88810 (rustdoc: Cleanup `clean` part 1)
 - rust-lang#88813 (explicitly link to external `ena` docs)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit bb5ca58 into rust-lang:master Sep 12, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 12, 2021
@Manishearth
Copy link
Member

The rollup caused an instruction count increase on perf, do you think that's due to this PR?

#88881

https://perf.rust-lang.org/compare.html?start=9ef27bf7dc50a8b51435579b4f2e86f7ee3f7a94&end=c7dbe7a830100c70d59994fd940bf75bb6e39b39

@petrochenkov
Copy link
Contributor Author

It seems unlikely, this PR is a type-level refactoring that shouldn't change anything at runtime.

flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 28, 2021
rustc: Remove local variable IDs from `Export`s

Local variables can never be exported.
JohnTitor added a commit to JohnTitor/rust-semverver that referenced this pull request Oct 15, 2021
@petrochenkov petrochenkov deleted the exportid branch February 22, 2025 18:31
# for free to join this conversation on GitHub. Already have an account? # 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.

6 participants