rust/tests
bors 9af07e65aa Auto merge of #7138 - mgacek8:issue6808_iter_cloned_collect_FN_with_large_array, r=Manishearth
Fix FN in `iter_cloned_collect` with a large array

fixes #6808
changelog: Fix FN in `iter_cloned_collect` with a large array

I spotted that [is_iterable_array](a362a4d1d0/clippy_lints/src/loops/explicit_iter_loop.rs (L67-L75)) function that `explicit_iter_loop` lint is using only works for array sizes <= 32.
There is this comment:
> IntoIterator is currently only implemented for array sizes <= 32 in rustc

I'm a bit confused, because I read that [IntoIterator for arrays](https://doc.rust-lang.org/src/core/array/mod.rs.html#194-201) with const generic `N` is stable since = "1.0.0". Although Const Generics MVP were stabilized in Rust 1.51.

Should I set MSRV for the current change? I will try to test with older compilers soon.
2021-04-27 13:44:51 +00:00
..
auxiliary Remove all copyright license headers 2019-01-08 21:46:39 +01:00
cargo Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
ui Auto merge of #7138 - mgacek8:issue6808_iter_cloned_collect_FN_with_large_array, r=Manishearth 2021-04-27 13:44:51 +00:00
ui-cargo Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
ui-internal Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
ui-toml Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
compile-test.rs Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
dogfood.rs Merge commit '6ed6f1e6a1' into clippyup 2021-03-12 15:30:50 +01:00
fmt.rs Merge commit '3d0b0e66af' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Merge commit '4911ab124c' into clippyup 2020-12-20 17:19:49 +01:00
lint_message_convention.rs Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
missing-test-files.rs Fix/allow non_fmt_panic in clippy tests. 2021-02-03 23:15:51 +01:00
versioncheck.rs Merge commit '6ed6f1e6a1' into clippyup 2021-03-12 15:30:50 +01:00