-
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: manual-range-contains #6177
Conversation
r? @flip1995 (rust_highfive has picked a reviewer for you, use r? to override) |
error seems unrelated, we may need another rustup. |
a77d6ee
to
db53735
Compare
#6178 is up. |
@josephlr So what do I need to do now? I've updated rust and pulled from master but still get an error. |
db53735
to
a0c2257
Compare
rebased. Thanks @ebroto. |
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.
Impl LGTM.
Also, since you will read this comment: You have some stale branches in the rust-lang/rust-clippy
repository. We try to delete all branches, that aren't necessary for the infra: #4745 Could you please move them to a fork and then delete them here in this repo?
I don't think I'll need them anymore. Will delete them once I get to my PC. |
a0c2257
to
122ccbc
Compare
@flip1995 Done....and...we need yet another rustup. |
Should be fixed by #6189 |
084ef72
to
370c8cc
Compare
Cool. Now there seems to be yet another unrelated error!? |
370c8cc
to
b9953fa
Compare
Nevermind, I fixed it en passant. Seems to relate to |
@flip1995 r? |
b9953fa
to
533d767
Compare
533d767
to
c693de3
Compare
Huh? There was some strange interaction (presumably with const stability) in the |
@bors r+ Thanks! |
📌 Commit c693de3 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This fixes #1110, at least for the contains-suggesting part.
.stderr
file)cargo test
passes locallycargo dev update_lints
cargo dev fmt
changelog: new lint: manual-range-contains