The (almost) culmination of HirIdification#62168
Conversation
|
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
|
r? @Zoxc |
|
I think there a few more things to do:
|
|
I could add the name cleanups to this PR; I'll look into map generation when I have a bit more time. |
9e2e0ca to
6c473c9
Compare
|
@Zoxc comment addressed; since a fair number of files were altered, I'd leave the adjustment to the |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
6c473c9 to
0e1e1c2
Compare
|
I actually already had the |
src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs
Outdated
Show resolved
Hide resolved
|
@Zoxc: can we merge this one? It might take me a while to fully kill off |
src/librustc/hir/map/mod.rs
Outdated
There was a problem hiding this comment.
I guess this stil uses node ids too. Should add it to the todo list.
src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs
Outdated
Show resolved
Hide resolved
src/librustc/lint/context.rs
Outdated
There was a problem hiding this comment.
The Crate.modules field should use a HirId. Add that to the todo list too
|
@bors r+ |
|
@bors r+ |
|
📌 Commit ba54e768db1b09982f5543f2bb37c4a80ad0d149 has been approved by |
|
@Zoxc: any hints on how I can get from |
|
@ljedrz You probably need some map in |
|
☔ The latest upstream changes (presumably #62355) made this pull request unmergeable. Please resolve the merge conflicts. |
dbcb919 to
a6030ff
Compare
|
@bors r=Zoxc |
|
📌 Commit a6030ff has been approved by |
…ation, r=Zoxc The (almost) culmination of HirIdification It's finally over. This PR removes old `FIXME`s and renames some functions so that the `HirId` variant has the shorter name. All that remains (and rightfully so) is stuff in `resolve`, `save_analysis` and (as far as I can tell) in a few places where we can't replace `NodeId` with `HirId`.
…ation, r=Zoxc The (almost) culmination of HirIdification It's finally over. This PR removes old `FIXME`s and renames some functions so that the `HirId` variant has the shorter name. All that remains (and rightfully so) is stuff in `resolve`, `save_analysis` and (as far as I can tell) in a few places where we can't replace `NodeId` with `HirId`.
…ation, r=Zoxc The (almost) culmination of HirIdification It's finally over. This PR removes old `FIXME`s and renames some functions so that the `HirId` variant has the shorter name. All that remains (and rightfully so) is stuff in `resolve`, `save_analysis` and (as far as I can tell) in a few places where we can't replace `NodeId` with `HirId`.
Rollup of 13 pull requests Successful merges: - #61545 (Implement another internal lints) - #62110 (Improve -Ztime-passes) - #62133 (Feature gate `rustc` attributes harder) - #62158 (Add MemoryExtra in InterpretCx constructor params) - #62168 (The (almost) culmination of HirIdification) - #62193 (Create async version of the dynamic-drop test) - #62369 (Remove `compile-pass` from compiletest) - #62380 (rustc_target: avoid negative register counts in the SysV x86_64 ABI.) - #62381 (Fix a typo in Write::write_vectored docs) - #62390 (Update README.md) - #62396 (remove Scalar::is_null_ptr) - #62406 (Lint on invalid values passed to x.py --warnings) - #62414 (Remove last use of mem::uninitialized in SGX) Failed merges: r? @ghost
Rustup HirIdification Rustup rust-lang/rust#62168 changelog: none
It's finally over.
This PR removes old
FIXMEs and renames some functions so that theHirIdvariant has the shorter name.All that remains (and rightfully so) is stuff in
resolve,save_analysisand (as far as I can tell) in a few places where we can't replaceNodeIdwithHirId.