about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-19 13:12:39 +0000
committerbors <bors@rust-lang.org>2021-01-19 13:12:39 +0000
commitd71dea40cf2a509093bf882b87878406523c4073 (patch)
tree663c1a118e2f634414fffce688805a4520b84602 /src/test/codegen/src-hash-algorithm
parente21270ba0e26a4807b74433719e5e3e9641bb8cf (diff)
parent3269070261e8324c2b3074cd491ddf2ac6cf19d3 (diff)
downloadrust-d71dea40cf2a509093bf882b87878406523c4073.tar.gz
rust-d71dea40cf2a509093bf882b87878406523c4073.zip
Auto merge of #6577 - nahuakang:inspect_then_for_each, r=flip1995
New Lint: inspect_then_for_each

**Work In Progress**

This PR addresses [Issue 5209](https://github.com/rust-lang/rust-clippy/issues/5209) and adds a new lint called `inspect_then_for_each`.

Current seek some guidance.

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

---

changelog: Add [`inspect_for_each`] lint for the use of `inspect().for_each()` on `Iterators`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions