rust/tests
bors da0538eaca Auto merge of #7330 - xFrednet:0000-refactor-map-identity, r=flip1995
Refactoring identity function lints

I've noticed that we have several lints that all check for identity functions and each used their own check implementation. I moved the `is_expr_identity_function` function to `clippy_utils` and adapted all lints to reuse that one function. This should make the addition of new lints like this also easier in the future.

I've also moved the `map_identity` lint into the `methods` module. It's probably the best to review this PR by checking each commit individually. And that's it, have a great day 🙃

changelog: none
2021-06-09 08:27:05 +00:00
..
auxiliary
cargo Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
ui Auto merge of #7330 - xFrednet:0000-refactor-map-identity, r=flip1995 2021-06-09 08:27:05 +00:00
ui-cargo Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
ui-internal Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
ui-toml Add avoid_breaking_exported_api config option 2021-05-26 16:35:22 -05:00
clippy.toml Add clippy.toml to project and tests 2021-05-26 16:53:13 -05:00
compile-test.rs Add clippy.toml to project and tests 2021-05-26 16:53:13 -05:00
dogfood.rs Adding the ability to invalidate caches to force metadata collection 2021-05-20 22:30:49 +02:00
fmt.rs Merge commit '3d0b0e66af' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Merge commit '4911ab124c' into clippyup 2020-12-20 17:19:49 +01:00
lint_message_convention.rs Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
missing-test-files.rs Fix/allow non_fmt_panic in clippy tests. 2021-02-03 23:15:51 +01:00
versioncheck.rs Merge commit '6ed6f1e6a1' into clippyup 2021-03-12 15:30:50 +01:00