Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

hir: remove LoweredNodeId #60305

Merged
merged 1 commit into from
Apr 29, 2019
Merged

Conversation

ljedrz
Copy link
Contributor

@ljedrz ljedrz commented Apr 26, 2019

It seems that we no longer need it, because nowadays we just want the HirId most of the time.

@rust-highfive
Copy link
Collaborator

r? @eddyb

(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 Apr 26, 2019
Copy link
Contributor

@Centril Centril left a comment

Choose a reason for hiding this comment

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

This applies generally in various places in the file.

src/librustc/hir/lowering.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Centril Centril left a comment

Choose a reason for hiding this comment

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

Some more cases... more generally, search for let hir_id = self.lower_node_id(

src/librustc/hir/lowering.rs Show resolved Hide resolved
src/librustc/hir/lowering.rs Show resolved Hide resolved
src/librustc/hir/lowering.rs Show resolved Hide resolved
src/librustc/hir/lowering.rs Show resolved Hide resolved
src/librustc/hir/lowering.rs Show resolved Hide resolved
src/librustc/hir/lowering.rs Show resolved Hide resolved
src/librustc/hir/lowering.rs Show resolved Hide resolved
@ljedrz
Copy link
Contributor Author

ljedrz commented Apr 26, 2019

@Centril This time I think I even got some you haven't noticed yet 😉 .

@Centril
Copy link
Contributor

Centril commented Apr 26, 2019

@ljedrz Yea; nice work :) -- I think you caught 'em all.

src/librustc/hir/lowering.rs Outdated Show resolved Hide resolved
@Zoxc Zoxc assigned Zoxc and unassigned eddyb Apr 28, 2019
@Zoxc
Copy link
Contributor

Zoxc commented Apr 29, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Apr 29, 2019

📌 Commit d536ec4 has been approved by Zoxc

@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 Apr 29, 2019
Centril added a commit to Centril/rust that referenced this pull request Apr 29, 2019
hir: remove LoweredNodeId

It seems that we no longer need it, because nowadays we just want the `HirId` most of the time.
bors added a commit that referenced this pull request Apr 29, 2019
Rollup of 9 pull requests

Successful merges:

 - #59946 (Fix equivalent string in escape_default docs)
 - #60256 (Option::flatten)
 - #60305 (hir: remove LoweredNodeId)
 - #60334 (Stabilized vectored IO)
 - #60353 (Add test not to forget resolved ICE)
 - #60356 (Stabilize str::as_mut_ptr)
 - #60358 (Clarify the short explanation of E0207)
 - #60359 (resolve: Consider erroneous imports used to avoid duplicate diagnostics)
 - #60360 (Add test case for labeled break in const assignment)

Failed merges:

r? @ghost
@bors
Copy link
Contributor

bors commented Apr 29, 2019

☔ The latest upstream changes (presumably #60377) made this pull request unmergeable. Please resolve the merge conflicts.

@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 Apr 29, 2019
@bors bors merged commit d536ec4 into rust-lang:master Apr 29, 2019
@ljedrz ljedrz deleted the remove_LoweredNodeId branch April 30, 2019 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants