rust/clippy_lints/src/methods
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
..
bind_instead_of_map.rs Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup 2020-09-24 14:49:22 +02:00
inefficient_to_string.rs ty.kind -> ty.kind() in rustdoc and clippy 2020-09-04 18:27:33 +02:00
manual_saturating_arithmetic.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mod.rs Auto merge of #6101 - pitiK3U:from_iter_instead_of_collect, r=flip1995 2020-11-03 15:59:16 +00:00
option_map_unwrap_or.rs Use better placeholders for some methods lint messages 2020-10-26 11:02:07 +01:00
unnecessary_filter_map.rs Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup 2020-07-14 14:59:59 +02:00
unnecessary_lazy_eval.rs Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup 2020-09-24 14:49:22 +02:00