-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove NodeId from even more HIR nodes #58836
Conversation
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
r? @Zoxc |
@bors p=1 |
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 |
An error in |
Clippy is ready. |
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 |
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 |
I guess the |
Removing the clippy update for now due to the aforementioned I can append it again later if it gets merged and a proper version is released. |
@bors r+ |
📌 Commit 299ed9a has been approved by |
Feel free to open further PRs. We can just combine them if bors is slow. Don't worry about breaking clippy, you can send PRs to fix it after the fact npw. |
Out of curiosity, how much of the work is left wrt pruning NodeIds from HIR? (by the way @ljedrz thanks for all this work, I'm sure everyone appreciates it very much 😍 ) |
@Xanewok it's a bit hard to tell; I've already HirIdified the most crucial spots ( Oh, and it will probably also be a good idea to later completely remove the NodeId methods in favor of the HirId ones; this will probably require rethinking some of the bigger HIR structs. |
Remove NodeId from even more HIR nodes The next iteration of HirIdification (#57578). Removes `NodeId` from: - [x] `StructField` - [x] `ForeignItem` - [x] `Item` - [x] `Pat` - [x] `FieldPat` - [x] `VariantData` - [x] `ImplItemId` (replaces it with `HirId`) - [x] `TraitItemId` (replaces it with `HirId`)
☀️ Test successful - checks-travis, status-appveyor |
HirIdification fixes Supersedes #3828, enables rust-lang/rust#58836. As usual, requesting a branch.
The next iteration of HirIdification (#57578).
Removes
NodeId
from:StructField
ForeignItem
Item
Pat
FieldPat
VariantData
ImplItemId
(replaces it withHirId
)TraitItemId
(replaces it withHirId
)