diff options
| author | bors <bors@rust-lang.org> | 2021-02-25 21:16:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-25 21:16:02 +0000 |
| commit | d5223be2e30a9d116b839bda418bec99d2949a68 (patch) | |
| tree | c184e67b13c36ab2e3bdfa7da63ca8f78a439524 /src/test/ui/thinlto | |
| parent | 5c6cd87b94cb59efff08c0f0e44c376f92afa7e5 (diff) | |
| parent | cbe6eec3e67347af130769ad4a3bd2168997b411 (diff) | |
| download | rust-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/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
