diff options
| author | bors <bors@rust-lang.org> | 2024-04-09 01:02:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-09 01:02:29 +0000 |
| commit | 59c808fcd9eeb3c5528209d1cef3aaa5521edbd6 (patch) | |
| tree | 60071224aa83a816016b41d2cbaa37917baeb03f /compiler/rustc_hir_analysis/src/structured_errors.rs | |
| parent | b234e449443a49ab19ef6b712bf56cc65927d98f (diff) | |
| parent | 166bb1bd463dbf6cd3bade6a6b1434884666f032 (diff) | |
| download | rust-59c808fcd9eeb3c5528209d1cef3aaa5521edbd6.tar.gz rust-59c808fcd9eeb3c5528209d1cef3aaa5521edbd6.zip | |
Auto merge of #122387 - DianQK:re-enable-early-otherwise-branch, r=cjgillot
Re-enable the early otherwise branch optimization Closes #95162. Fixes #119014. This is the first part of #121397. An invalid enum discriminant can come from anywhere. We have to check to see if all successors contain the discriminant statement. This should have a pass to hoist instructions. r? cjgillot
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions
