bors
ad9ceeebdc
Auto merge of #6685 - magurotuna:filter_map_identity, r=phansch
...
Add new lint `filter_map_identity`
<!--
Thank you for making Clippy better!
We're collecting our changelog from pull request descriptions.
If your PR only includes internal changes, you can just write
`changelog: none`. Otherwise, please write a short comment
explaining your change.
If your PR fixes an issue, you can add "fixes #issue_number" into this
PR description. This way the issue will be automatically closed when
your PR is merged.
If you added a new lint, here's a checklist for things that will be
checked during review or continuous integration.
- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`
[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints
Note that you can skip the above if you are just opening a WIP PR in
order to get feedback.
Delete this line and everything above before opening your PR.
-->
This commit adds a new lint named filter_map_identity.
This lint is the same as `flat_map_identity` except that it checks for the usage of `filter_map`.
---
Closes #6643
changelog: Added a new lint: `filter_map_identity`
2021-02-07 09:55:32 +00:00
..
2021-01-07 18:54:12 -03:00
2021-01-15 10:56:44 +01:00
2021-01-30 18:06:34 +01:00
2021-02-02 16:36:32 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2021-01-17 16:18:02 -05:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-02-02 16:36:32 +01:00
2021-02-02 16:36:32 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-30 18:06:34 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2020-12-20 17:19:49 +01:00
2021-02-02 08:59:23 +01:00
2021-02-01 18:42:08 -08:00
2021-02-01 18:42:08 -08:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-02-06 18:03:14 +09:00
2021-02-06 18:03:14 +09:00
2021-02-06 18:03:14 +09:00
2021-01-30 18:06:34 +01:00
2021-02-04 00:06:26 +09:00
2021-02-04 00:06:26 +09:00
2021-02-04 00:06:26 +09:00
2020-11-29 00:55:55 -05:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-02 16:29:43 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2021-01-02 16:29:43 +01:00
2021-01-02 16:29:43 +01:00
2021-01-29 22:19:09 -08:00
2021-01-29 22:19:09 -08:00
2021-02-05 14:54:06 -06:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-02-04 10:51:40 +01:00
2021-02-04 10:51:40 +01:00
2020-12-06 15:01:03 +01:00
2021-01-02 16:29:43 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-24 12:28:59 +01:00
2021-01-24 12:28:59 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-02 16:29:43 +01:00
2021-01-02 16:29:43 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-20 17:19:49 +01:00
2020-12-06 15:01:03 +01:00
2020-12-20 17:19:49 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-07 18:54:12 -03:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-30 19:33:21 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-02 16:29:43 +01:00
2021-01-02 16:29:43 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-02-06 16:56:18 +01:00
2021-02-06 20:05:51 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2021-01-30 18:06:34 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-01-16 19:44:46 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2021-01-02 16:29:43 +01:00
2021-01-02 16:29:43 +01:00
2021-01-02 16:29:43 +01:00
2020-12-20 17:19:49 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2020-12-20 17:19:49 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2020-12-06 15:01:03 +01:00
2021-01-30 18:06:34 +01:00
2021-01-30 18:06:34 +01:00
2021-01-15 10:56:44 +01:00
2021-01-15 10:56:44 +01:00
2021-02-06 00:10:52 +09:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00
2020-12-20 17:19:49 +01:00