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
..
2021-01-07 18:54:12 -03:00
2021-04-10 16:59:59 -05:00
2021-04-15 08:19:59 -04:00
2021-04-15 08:19:59 -04:00
2021-04-15 08:19:59 -04:00
2021-04-16 15:23:49 -05:00
2021-04-16 15:23:49 -05:00
2021-04-02 22:27:13 -04:00
2021-04-15 22:09:20 -04:00
2021-04-15 22:09:20 -04:00
2021-04-18 23:49:54 +02:00
2021-04-18 23:49:54 +02:00
2021-04-18 23:49:54 +02:00
2021-03-03 11:23:29 +01:00