about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-03-27 11:59:27 +0000
committerGitHub <noreply@github.com>2025-03-27 11:59:27 +0000
commita895265a4e44666c2c30de27f010c6467130c6e8 (patch)
treeb9c44263da0b0d4ec7131d185803e504d7b0c32b /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
parent764c1b6d16c1830929469d3cf4307cd94789317c (diff)
parentd9913dd6ad07f113aa83b835da8253bdca4342a9 (diff)
downloadrust-a895265a4e44666c2c30de27f010c6467130c6e8.tar.gz
rust-a895265a4e44666c2c30de27f010c6467130c6e8.zip
Do not warn about shadowing in a destructuring assigment (#14381)
When lowering a destructuring assignment from AST to HIR, the compiler
will reuse the same identifier name (namely `sym::lhs`) for all the
fields. The desugaring must be checked for to avoid a false positive of
the `shadow_unrelated` lint.

Fix #10279
Fix #14377

changelog: [`shadow_unrelated`]: prevent false positive in destructuring
assignments
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions