bors a2bf404d34 Auto merge of #6101 - pitiK3U:from_iter_instead_of_collect, r=flip1995
Add lint: from_iter_instead_of_collect

Fixes #5679

This implements lint for `::from_iter()` from #5679 not the general issue (`std::ops::Add::add`, etc.).
This lint checks if expression is function call with `from_iter` name and if it's implementation of the `std::iter::FromIterator` trait.

changelog: Introduce  from_iter_instead_of_collect lint
2020-11-03 15:59:16 +00:00
..
2020-10-28 23:35:11 +01:00
2020-10-28 22:34:45 +01:00
2020-11-03 16:44:23 +01:00
2020-11-03 16:44:23 +01:00
2020-10-26 11:15:01 +01:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-26 00:01:20 +09:00
2020-10-26 00:01:20 +09:00