rust/tests/ui/auxiliary
bors 8a30f2f71a Auto merge of #10814 - y21:issue10743, r=llogiq
new lint: `explicit_into_iter_fn_arg`

Closes #10743.
This adds a lint that looks for `.into_iter()` calls in a call expression to a function that already expects an `IntoIterator`. In those cases, explicitly calling `.into_iter()` is unnecessary.
There were a few instances of this in clippy itself so I fixed those as well in this PR.

changelog: new lint [`explicit_into_iter_fn_arg`]
2023-06-03 15:57:36 +00:00
..
macro_rules.rs use in_external_macro 2023-04-25 05:06:45 -05:00
macro_use_helper.rs Add utility macros to help with writing tests. 2023-03-12 17:24:36 -04:00
non-exhaustive-enum.rs Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup 2021-07-01 18:17:38 +02:00
option_helpers.rs Merge commit '23d11428de3e973b34a5090a78d62887f821c90e' into clippyup 2021-12-17 13:40:22 +01:00
proc_macro_attr.rs Auto merge of #10649 - jsoref:spelling, r=Jarcho 2023-04-23 22:30:06 +00:00
proc_macro_derive.rs fix new failing proc macro tests 2023-05-30 22:32:47 +02:00
proc_macro_suspicious_else_formatting.rs Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
proc_macro_unsafe.rs Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
proc_macros.rs Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
test_macro.rs Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup 2021-08-12 11:16:25 +02:00
use_self_macro.rs Add regression test for ICE in use-self lint 2019-10-15 15:02:09 +02:00
wildcard_imports_helper.rs [wildcard_imports] Modules that contain prelude are also allowed 2023-05-30 21:29:04 +03:00