-
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
unnecessary_sort_by: avoid linting if key borrows #5756
Conversation
r? @flip1995 (rust_highfive has picked a reviewer for you, use r? to override) |
While working on this fix I've seen something that could backfire. In the Am I missing something? |
☔ The latest upstream changes (presumably #5751) made this pull request unmergeable. Please resolve the merge conflicts. |
Rebased to handle the rustup.
EDIT: Nevermind, it has been solved by mikerite in #5759. It's |
@bors r+ Thanks! |
📌 Commit 18d09c5 has been approved by |
💔 Test failed - checks-action_test |
☔ The latest upstream changes (presumably #5763) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r+ rollup=always |
📌 Commit db1c946 has been approved by |
Rollup of 5 pull requests Successful merges: - #5443 (Some accuracy lints for floating point operations) - #5752 (Move range_minus_one to pedantic) - #5756 (unnecessary_sort_by: avoid linting if key borrows) - #5784 (Fix out of bounds access by checking length equality BEFORE accessing by index.) - #5786 (fix phrase in new_lint issue template) Failed merges: r? @ghost changelog: rollup
changelog: Avoid linting if key borrows in [
unnecessary_sort_by
]Fixes #5754
Closes #2313