-
Notifications
You must be signed in to change notification settings - Fork 13k
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: consistent use and naming of lang items #75666
Conversation
r? @varkor (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this is a fairly huge improvement, not sure how much T-compiler
consensus this needs though 🤷
f156f43
to
867ddc1
Compare
This comment has been minimized.
This comment has been minimized.
I think this is an improvement, and it's consistent with naming conventions elsewhere, so I'll approve, and if anyone has any objections, they can comment. r=me after rebasing |
This commit adjusts the naming of various lang items so that they are consistent and don't include prefixes containing the target or "LangItem". In addition, lang item variants are no longer exported from the `lang_items` module. Signed-off-by: David Wood <david@davidtw.co>
867ddc1
to
6cc268e
Compare
@bors r=varkor |
📌 Commit 6cc268e has been approved by |
☀️ Test successful - checks-actions, checks-azure |
This PR adjusts the naming of various lang items so that they are consistent and don't include prefixes containing the target or "LangItem". In addition, lang item variants are no longer exported from the
lang_items
module.This is certainly subjective and while I think this is an improvement, if many in the team don't then we can just close this.