about summary refs log tree commit diff
path: root/tests/mir-opt/jump_threading.mutable_ref.JumpThreading.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-03 06:22:23 +0000
committerbors <bors@rust-lang.org>2024-04-03 06:22:23 +0000
commit76cf07d5df52c07c3cd4cfeea1ab32b1cfba71bf (patch)
treeee0118871141f3cd23eb931080c40ff7202fad57 /tests/mir-opt/jump_threading.mutable_ref.JumpThreading.panic-unwind.diff
parent8938f887d3d52327d086511131c70add1ae4773c (diff)
parentec313d1edb83c7b020e590bcbafa8cd19c94e0e9 (diff)
downloadrust-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/jump_threading.mutable_ref.JumpThreading.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions