diff options
| author | bors <bors@rust-lang.org> | 2020-11-03 15:59:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-03 15:59:16 +0000 |
| commit | a2bf404d34529e2b916bdc514bd71309e86908bd (patch) | |
| tree | 96237ea30df875addbd6ac431e40d1ed587e63c4 /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 3ee9c2e1a07e78e1705b89616e14c0292ecde025 (diff) | |
| parent | ddf23d649ae02dde7aed22ec6699a736492b7184 (diff) | |
| download | rust-a2bf404d34529e2b916bdc514bd71309e86908bd.tar.gz rust-a2bf404d34529e2b916bdc514bd71309e86908bd.zip | |
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
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
