diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-13 19:32:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-13 19:32:33 +0530 |
| commit | 9e1af3fd82b8db3c2d5bea18653f620d49df4d3d (patch) | |
| tree | 21f0c5767860f1946feacbd441be7a37586445a9 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 9e2f6895a8dc5176a971a162e9c5bf38223c88ed (diff) | |
| parent | af3ba22313c351dabeb7492a21074a45c482faae (diff) | |
| download | rust-9e1af3fd82b8db3c2d5bea18653f620d49df4d3d.tar.gz rust-9e1af3fd82b8db3c2d5bea18653f620d49df4d3d.zip | |
Rollup merge of #98574 - dingxiangfei2009:let-else-thir, r=oli-obk
Lower let-else in MIR This MR will switch to lower let-else statements in MIR building instead. To lower let-else in MIR, we build a mini-switch two branches. One branch leads to the matching case, and the other leads to the `else` block. This arrangement will allow temporary lifetime analysis running as-is so that the temporaries are properly extended according to the same rule applied to regular `let` statements. cc https://github.com/rust-lang/rust/issues/87335 Fix #98672
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
