-
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: always_true_conditions #14434
base: master
Are you sure you want to change the base?
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use |
The lintcheck results shows 64 hits, which seem to be all false positives. |
@Dominic-Moser Do you plan to continue working on this lint? |
Reminder, once the PR becomes ready for a review, use |
@rustbot ready, sorry school's been hitting hard |
never mind, I have to to checks to make sure the same variable is being used throughout the whole expression |
This lint closes #1593
This is my first lint, please let me know if I messed something up anywhere!
changelog: [always_true_conditions]: add new lint