rust/clippy_utils/src
bors 0f87a81882 Auto merge of #12822 - Alexendoo:for-each-expr, r=dswij
Make `for_each_expr` visit closures by default, rename the old version `for_each_expr_without_closures`

A lot of the time `for_each_expr` is picked when closures should be visited so I think it makes sense for this to be the default with the alternative available for when you don't need to visit them.

The first commit renames `for_each_expr` to `for_each_expr_without_closures` and `for_each_expr_with_closures` to `for_each_expr`

The second commit switches a few uses that I caught over to include closures to fix a few bugs

changelog: none
2024-06-07 09:42:37 +00:00
..
ast_utils
mir Fix clippy 2024-05-17 20:33:02 -07:00
ty/type_certainty handle parent const effects correctly in type_certainty 2024-06-01 20:10:48 +02:00
ast_utils.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
attrs.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
check_proc_macro.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
comparisons.rs
consts.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-05-30 09:44:14 +02:00
diagnostics.rs Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
eager_or_lazy.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
higher.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
hir_utils.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-05-30 09:44:14 +02:00
lib.rs Auto merge of #12822 - Alexendoo:for-each-expr, r=dswij 2024-06-07 09:42:37 +00:00
macros.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
numeric_literal.rs
paths.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
ptr.rs Swap for_each_expr and for_each_expr_with_closures 2024-05-19 16:47:02 +00:00
qualify_min_const_fn.rs clippy: unnest check_consts 2024-05-24 09:56:56 -07:00
source.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
str_utils.rs Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup 2023-11-02 17:35:56 +01:00
sugg.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
sym_helper.rs
ty.rs ignore generics in handling 2024-05-30 13:15:25 +00:00
usage.rs Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into clippy-subtree-update 2024-05-21 10:39:30 -07:00
visitors.rs Auto merge of #12822 - Alexendoo:for-each-expr, r=dswij 2024-06-07 09:42:37 +00:00