Files
rust/tests
llogiq 86eaeaadd9 Do not make suggestion machine-applicable if it may change semantics (#16324)
When suggesting to replace an iterator method by `.all()` or `.any()`,
make the suggestion at most `MaybeIncorrect` instead of
`MachineApplicable` and warn about the fact that semantics may change
because those two methods are short-circuiting.

Fixes rust-lang/rust-clippy#3351

----

changelog: [`unnecessary_fold`]: warn about possible semantics change
when suggesting the use of a short-circuiting operator
2026-01-02 07:42:18 +00:00
..