rust-clippy/clippy_utils/src
bors b1e5a58427 Auto merge of #11812 - Jarcho:issue_11786, r=Alexendoo
Return `Some` from `walk_to_expr_usage` more

fixes #11786
supersedes #11097

The code removed in the first commit would have needed changes due to the second commit. Since it's useless it just gets removed instead.

changelog: `needless_borrow`: Fix linting in tuple and array expressions.
2024-02-06 15:20:07 +00:00
..
ast_utils Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
mir compiler: Lower fn call arg spans down to MIR 2024-01-15 19:07:11 +01:00
ty/type_certainty Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
ast_utils.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
attrs.rs Move has_non_exhaustive_attr function into clippy_utils 2024-01-20 17:08:53 +01:00
check_proc_macro.rs Give VariantData::Struct named fields, to clairfy recovered. 2023-12-20 00:07:34 +00:00
comparisons.rs Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup 2023-07-17 10:22:32 +02:00
consts.rs Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
diagnostics.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-01-25 18:39:39 +01:00
eager_or_lazy.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
higher.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
hir_utils.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-01-25 18:39:39 +01:00
lib.rs Auto merge of #11812 - Jarcho:issue_11786, r=Alexendoo 2024-02-06 15:20:07 +00:00
macros.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
numeric_literal.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
paths.rs fix false positive in suspicious_open_options, make paths work 2024-01-15 17:15:09 +00:00
ptr.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
qualify_min_const_fn.rs compiler: Lower fn call arg spans down to MIR 2024-01-15 19:07:11 +01:00
source.rs Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup 2023-11-02 17:35:56 +01:00
str_utils.rs Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup 2023-11-02 17:35:56 +01:00
sugg.rs Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00
sym_helper.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
ty.rs Auto merge of #11812 - Jarcho:issue_11786, r=Alexendoo 2024-02-06 15:20:07 +00:00
usage.rs Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
visitors.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00