about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-16 22:02:10 +0000
committerbors <bors@rust-lang.org>2023-09-16 22:02:10 +0000
commitef736489e7842c0293ad289e15b18f5d0f3661b4 (patch)
tree257c007819cfe77630a73a66f8b3d4594c07b13b /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentf54275f20fb4aa20e28e6f082fac8cfc044965a4 (diff)
parent67f0ba4af8be42d361adc8d047121fe6c820c0d4 (diff)
downloadrust-ef736489e7842c0293ad289e15b18f5d0f3661b4.tar.gz
rust-ef736489e7842c0293ad289e15b18f5d0f3661b4.zip
Auto merge of #11468 - mojave2:issue-11465, r=blyxyas
add extra `byref` checking for the guard's local

changelog: [`redundant_guards`]: Now checks if the variable is bound using `ref` before linting.

The lint should not be emitted, when the local variable is bind by-ref in the pattern.

fixes #11465
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions