-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add _
to the list of keywords
#42723
Conversation
also, make sure the keyword table is correctly spaced
(rust_highfive has picked a reviewer for you, use r? to override) |
I'm okay adding this, but i've noticed the reference and the grammar disagree with respect to how they define idents. The reference has additional rules stating that identifiers may be prefixed with an underscore, despite underscores not having @bors r+ rollup |
📌 Commit 723772f has been approved by |
@ubsan |
@petrochenkov correct, it is mostly philosophical. I just thought this was logical, and simpler than treating
|
Add `_` to the list of keywords also, make sure the keyword table is correctly spaced note: the reference also needs to be updated. This is not the only way to do this in the grammar, but it's my preferred way.
Add `_` to the list of keywords also, make sure the keyword table is correctly spaced note: the reference also needs to be updated. This is not the only way to do this in the grammar, but it's my preferred way.
also, make sure the keyword table is correctly spaced
note: the reference also needs to be updated. This is not the only way to do this in the grammar, but it's my preferred way.