mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
76cf07d5df
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 |
||
---|---|---|
.. | ||
enum-bounds-check-derived-idx.rs | ||
enum-bounds-check-issue-13926.rs | ||
enum-bounds-check-issue-82871.rs | ||
enum-bounds-check.rs | ||
enum-debug-clike.rs | ||
enum-debug-niche-2.rs | ||
enum-debug-niche.rs | ||
enum-debug-tagged.rs | ||
enum-discriminant-value.rs | ||
enum-match.rs | ||
enum-u128.rs | ||
unreachable_enum_default_branch.rs |