about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-30 20:23:47 +0000
committerbors <bors@rust-lang.org>2021-09-30 20:23:47 +0000
commitaa7aca3b954131720df725e70d12e902eb3be1de (patch)
treeec4c0188a45ca8210d9fb58dd4a5b23aa6fb9ccb /compiler/rustc_codegen_llvm/src/lib.rs
parent6dc08b909b469d58dd8fa54c57ab193b8cf95257 (diff)
parentd0e2b607de9b3b4e7e6495206a21847201248144 (diff)
downloadrust-aa7aca3b954131720df725e70d12e902eb3be1de.tar.gz
rust-aa7aca3b954131720df725e70d12e902eb3be1de.zip
Auto merge of #89282 - sexxi-goose:fix-88118, r=nikomatsakis
2229: Consume IfLet expr

When using the IfLet guard feature, we can ICE when attempting to resolve PlaceBuilders.
For pattern matching, we currently don't consume the IfLet expression when "visiting" the arms leading us to not "read" all variables and hence not being able to resolve them.

r? `@nikomatsakis`
Closes https://github.com/rust-lang/rust/issues/88118
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions