bors 76cf07d5df 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
2024-04-03 06:22:23 +00:00
..
2024-03-28 17:19:15 +03:00
2024-03-25 13:58:40 -04:00
2024-03-23 23:23:41 -07:00
2024-03-28 17:19:15 +03:00
2024-03-23 23:23:41 -07:00
2024-03-12 10:59:40 +01:00