diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-03-27 11:59:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-27 11:59:27 +0000 |
| commit | a895265a4e44666c2c30de27f010c6467130c6e8 (patch) | |
| tree | b9c44263da0b0d4ec7131d185803e504d7b0c32b /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | 764c1b6d16c1830929469d3cf4307cd94789317c (diff) | |
| parent | d9913dd6ad07f113aa83b835da8253bdca4342a9 (diff) | |
| download | rust-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/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions
