Files
rust/tests/ui
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
..
2025-11-12 14:43:05 +01:00
2025-06-18 10:20:46 +02:00
2025-10-11 20:50:21 +00:00
2025-10-11 20:50:21 +00:00
2025-07-13 13:50:01 +00:00
2025-07-13 13:50:01 +00:00
2025-11-08 13:50:48 -05:00
2025-11-08 13:50:48 -05:00
2025-11-08 13:50:48 -05:00