diff options
| author | bors <bors@rust-lang.org> | 2023-06-03 15:57:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-03 15:57:36 +0000 |
| commit | 8a30f2f71a72f6e842452427bcc19947d614d889 (patch) | |
| tree | 88e98a6254e36a429db7db64f016df06460b2fa1 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff | |
| parent | 2490de476af0ba5a95170cdc63167cb626cbf68a (diff) | |
| parent | d816eba09d4ca01ae6a3576de6db3ee415214d03 (diff) | |
| download | rust-8a30f2f71a72f6e842452427bcc19947d614d889.tar.gz rust-8a30f2f71a72f6e842452427bcc19947d614d889.zip | |
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`]
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
