rust/tests
bors 481dc2e81c Auto merge of #9409 - DesmondWillowbrook:iter_kv_map, r=xFrednet
Add `iter_kv_map` lint

fixes #9376

| before | after |
| -------------- | ------------------------- |
| `hmap.iter().map(\|(key, _)\| key)` | `hmap.keys()` |
| `hmap.iter().map(\|(_, v)\| v + 2)` | `hmap.values().map(\|v\| v + 2)` |
| `hmap.into_iter().map(\|(key, _)\| key)` | `hmap.into_keys()` |

Is `MachineApplicable`

changelog: [`iter_kv_map`]: added lint
2022-09-16 08:44:58 +00:00
..
test_utils
ui Auto merge of #9409 - DesmondWillowbrook:iter_kv_map, r=xFrednet 2022-09-16 08:44:58 +00:00
ui-cargo Make module-style lints resilient to --remap-path-prefix 2022-09-13 21:38:56 +02:00
ui-internal
ui-toml Rename the arithmetic lint 2022-09-08 12:04:55 -03:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs
dogfood.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs