-
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
New lint [min_ident_chars
]
#10916
New lint [min_ident_chars
]
#10916
Conversation
r? @Jarcho (rustbot has picked a reviewer for you, use r? to override) |
Yes, will take it :) |
1a6e9f5
to
e297fbe
Compare
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.
Some really really nitpicks. Everything else looks fine, Thanks ❤️
a2c037f
to
3defd38
Compare
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.
Everything seems pretty fine, thanks! Seems like a very useful lint ❤️
cc @xFrednet
b6cc2fb
to
3d0adf9
Compare
You just pushed, while I was doing a review xD It looks like that deleted a comment, let's see if I can find that one again |
Sorry, had to make sure I ran |
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.
Hey, so far, I've only looked at the tests and config implementation. It looks like you're also still working on the branch. These are some nits I found rn. Let me know when you're ready for the next review :)
No problem! It was not the first time this happened, just the first time that GH deleted a comment. It was a simple one to reconstruct though :D |
Feel free to take a look whenever, the implementation is already pretty much done. |
I looks like the PR has gotten some conflict, without bors adding a comment. Could you resolve them? |
c98e566
to
76996cb
Compare
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.
This version looks quite good to me. I have three tiny nits, and then it should be ready :)
☔ The latest upstream changes (presumably #10921) made this pull request unmergeable. Please resolve the merge conflicts. |
99f9c12
to
29c1c6e
Compare
Looks good to me, thank you! @bors r=blyxyas,xFrednet |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Closes #10915
This also implements
WithSearchPat
forIdent
, as I was going to rewrite this as a late lint to optionally ignore fields and/or generics but this was more complex than anticipatedchangelog: New lint [
min_ident_chars
]#10916