diff options
| author | bors <bors@rust-lang.org> | 2024-04-03 06:22:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-03 06:22:23 +0000 |
| commit | 76cf07d5df52c07c3cd4cfeea1ab32b1cfba71bf (patch) | |
| tree | ee0118871141f3cd23eb931080c40ff7202fad57 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff | |
| parent | 8938f887d3d52327d086511131c70add1ae4773c (diff) | |
| parent | ec313d1edb83c7b020e590bcbafa8cd19c94e0e9 (diff) | |
| download | rust-76cf07d5df52c07c3cd4cfeea1ab32b1cfba71bf.tar.gz rust-76cf07d5df52c07c3cd4cfeea1ab32b1cfba71bf.zip | |
Auto merge of #122225 - DianQK:nits-120268, r=cjgillot
Rename `UninhabitedEnumBranching` to `UnreachableEnumBranching` Per [#120268](https://github.com/rust-lang/rust/pull/120268#discussion_r1517492060), I rename `UninhabitedEnumBranching` to `UnreachableEnumBranching` . I solved some nits to add some comments. I adjusted the workaround restrictions. This should be useful for `a <= b` and `if let Some/Ok(v)`. For enum with few variants, `early-tailduplication` should not cause compile time overhead. r? RalfJung
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
