about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-25 21:16:02 +0000
committerbors <bors@rust-lang.org>2021-02-25 21:16:02 +0000
commitd5223be2e30a9d116b839bda418bec99d2949a68 (patch)
treec184e67b13c36ab2e3bdfa7da63ca8f78a439524 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent5c6cd87b94cb59efff08c0f0e44c376f92afa7e5 (diff)
parentcbe6eec3e67347af130769ad4a3bd2168997b411 (diff)
downloadrust-d5223be2e30a9d116b839bda418bec99d2949a68.tar.gz
rust-d5223be2e30a9d116b839bda418bec99d2949a68.zip
Auto merge of #6601 - mdm:fix-unit-args-false-positive, r=camsteffen
Fix false positive for unit_arg lint

Fixes #6447

To avoid false positives don't complain about unit args when they come from a path expression, e.g. a local variable.

**Note:** This is my first contribution to Clippy, so I might have messed up somewhere. Any feedback is welcome and I'm happy to work out any kinks.

---

changelog: Do not lint unit arguments when they come from a path expression.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions