about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-19 17:27:30 +0000
committerbors <bors@rust-lang.org>2022-09-19 17:27:30 +0000
commit2019147c5642c08cdb9ad4cacd97dd1fa4ffa701 (patch)
treeceabbffecba326758c0f577b333de45b4e36c7b5 /compiler/rustc_codegen_llvm/src
parent11bb80a92b4f46fa7dfa9148d0bdfc185a7621bd (diff)
parenteb36f5ee5b71cbe3eb356f8e56e9c9a69b6d649d (diff)
downloadrust-2019147c5642c08cdb9ad4cacd97dd1fa4ffa701.tar.gz
rust-2019147c5642c08cdb9ad4cacd97dd1fa4ffa701.zip
Auto merge of #101894 - dingxiangfei2009:let-else-avoid-duplicate-storage-live, r=oli-obk
Avoid duplicating StorageLive in let-else

cc `@est31`

Fix #101867
Fix #101932

#101410 introduced directives to activate storages of bindings in let-else earlier. However, since it is using the machinery of `match` and friends for pattern matching and binding, those storages are activated for the second time. This PR adjusts this behavior and avoid the duplicated activation for let-else statements.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions