-
Couldn't load subscription status.
- Fork 1.8k
Add internal lint to check for slow symbol comparisons #13543
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
Conversation
|
You may want to run |
614d489 to
dc7de29
Compare
|
This pattern is still recommended in a few places throughout the clippy book, so if we're going to actively lint against this we should also update those as well (searching for |
|
☔ The latest upstream changes (presumably #13540) made this pull request unmergeable. Please resolve the merge conflicts. |
clippy_lints/src/utils/internal_lints/slow_symbol_comparisons.rs
Outdated
Show resolved
Hide resolved
|
Can you also add a basic test for this lint? |
dc7de29 to
9e8480e
Compare
|
Done, added a test. @y21 |
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.
Looks good, just a small remark on the book changes
6a33e8d to
c7abeb9
Compare
c7abeb9 to
979e297
Compare
|
Looks good now, thanks! @bors r+ |
|
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
See the conversation on Zulip.
changelog: none