rust/clippy_utils/src
bors 236751d093 Auto merge of #13540 - GnomedDev:create-dir-single-arg, r=y21
Check MethodCall/Call arg count earlier or at all

This gets rid of a bunch of possible panic spots, as well as bailing out earlier for optimisation reasons.

I started doing this because I saw that a significant amount of time was being spent in the `create_dir` restriction lint when running clippy with `perf`, but this also helps with robustness.

changelog: none
2024-10-13 13:34:48 +00:00
..
ast_utils Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
mir Fix clippy_lints and clippy_utils 2024-09-25 13:52:12 -04:00
ty/type_certainty Fix clippy_lints and clippy_utils 2024-09-25 13:52:12 -04:00
ast_utils.rs Convert &Option<T> to Option<&T> 2024-09-28 19:51:02 -04:00
attrs.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
check_proc_macro.rs deal with differing syntax contexts for subexpressions in check_proc_macro 2024-09-29 15:58:44 +02:00
comparisons.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
consts.rs Check MethodCall/Call arg count earlier or at all 2024-10-13 11:24:47 +01:00
diagnostics.rs Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
eager_or_lazy.rs Fix clippy_lints and clippy_utils 2024-09-25 13:52:12 -04:00
higher.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
hir_utils.rs Use SpanlessEq for in trait_bounds lints 2024-10-03 15:49:37 +00:00
lib.rs Auto merge of #13359 - blyxyas:declare_clippy_macro, r=Alexendoo 2024-10-11 14:10:01 +00:00
macros.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
numeric_literal.rs Merge commit '37f4fbb929' into clippy-subtree-update 2024-07-25 18:29:17 +02:00
paths.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ptr.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
qualify_min_const_fn.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-10-03 14:47:50 +02:00
source.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
str_utils.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
sugg.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
sym_helper.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
ty.rs Auto merge of #13496 - y21:issue10619, r=Alexendoo 2024-10-07 15:32:34 +00:00
usage.rs Fix clippy_lints and clippy_utils 2024-09-25 13:52:12 -04:00
visitors.rs Fix clippy_lints and clippy_utils 2024-09-25 13:52:12 -04:00