about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-03-09 08:36:37 +0100
committerSamuel Tardieu <sam@rfc1149.net>2025-03-27 12:31:54 +0100
commitd9913dd6ad07f113aa83b835da8253bdca4342a9 (patch)
treefff5bb1245b1a0644e3fafeb4b3a9ab8ae6285d3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1b628853fa3647a811cd77a7b3425056b39f1d07 (diff)
downloadrust-d9913dd6ad07f113aa83b835da8253bdca4342a9.tar.gz
rust-d9913dd6ad07f113aa83b835da8253bdca4342a9.zip
Do not warn about shadowing in a destructuring assigment
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions