diff options
| author | Jason Newcomb <jsnewcomb@pm.me> | 2021-11-15 11:58:25 -0500 |
|---|---|---|
| committer | Jason Newcomb <jsnewcomb@pm.me> | 2021-11-15 13:17:59 -0500 |
| commit | 8ded385ddc7e48b4e80633b7b66bb0ea2e56ec38 (patch) | |
| tree | 5da3ecc8bc2832aff095adffa0d745531091db9b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | f51fb341dd3ff79f400ee816dceb81eb2d0c5106 (diff) | |
| download | rust-8ded385ddc7e48b4e80633b7b66bb0ea2e56ec38.tar.gz rust-8ded385ddc7e48b4e80633b7b66bb0ea2e56ec38.zip | |
Improve `needless_borrow` lint.
* Lint when a borrow is auto dereferenced more than once * Lint when the expression is used as the expression of a block for a match arm Moves `needless_borrow` and `ref_binding_to_reference` to `dereference` lint pass in preperation for `explicit_auto_deref` lint.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
