Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
r? @Mark-Simulacrum
Backporting
uninlined_format_args
topedantic
rust-clippy#15287Reverting buggy lint extensions:
manual_is_variant_and lint
to check for boolean map comparisons rust-clippy#14646return_and_then
: only lint returning expressions rust-clippy#14783The two backports are for things that were changed in 1.88 already, but we don't want to wait another cycle to fix the issues that originated from those changes.
The two reverts are for lints that started triggering on more cases in 1.89. The proper fixes for them rust-lang/rust-clippy#15206 and rust-lang/rust-clippy#15115 respectively were too big to include in a beta backport and should go through the nightly cycle. To still fix the issues, the extensions are reverted on
beta
and will be reintroduced together with their fixes in the next beta 1.90.