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 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||