-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Hex bin digit grouping #6183
Hex bin digit grouping #6183
Conversation
r? @flip1995 (rust_highfive has picked a reviewer for you, use r? to override) |
aee3baf
to
2d0d6ea
Compare
I think this PR is all set now. There was one change made to the suggested grouping for hexadecimal literals that might need discussion. Instead of groups of 4, like |
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.
I really don't like the suggestion change of the other lint. IMO splitting hex numbers in groups of 4 is more accepted than groups of 2.
Yeah, that's fair. I just reverted that change and switched this new lint to checking if hex literals are in groups of four to stay consistent. |
db60db7
to
f865bd0
Compare
f865bd0
to
f5a88b6
Compare
For some reason, my local builds always fail with seven or so of this error:
Does anyone know why? It makes debugging this lint really hard since I can't run any of the tests. |
I think you need to run |
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author |
That helps partially; thank you. Now, though, I have a bunch of errors about crates being built with incompatible versions of |
Could you share the errors? Also, make sure you rebased on top of the current master. |
They went away mysteriously after waiting a while. It's possible that rust-analyzer running in VSCode had something to do with it. Thanks for the help! |
I have the |
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.
Two small things left, before this is ready to get merged.
Thanks! Waiting on rustup. @cgm616 I removed the |
Nope! Just leftover from the beginning. Thanks for everything! |
@bors r+ Thanks! |
📌 Commit 312bbff has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This revives and updates an old pr (#3391) for the current API.
Closes #2538.
Please keep the line below
changelog: Add [
unusual_byte_groupings
] lint.