Skip to content

Commit

Permalink
Auto merge of #122225 - DianQK:nits-120268, r=cjgillot
Browse files Browse the repository at this point in the history
 Rename `UninhabitedEnumBranching` to `UnreachableEnumBranching`

Per [#120268](rust-lang/rust#120268 (comment)), 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
  • Loading branch information
bors committed Apr 3, 2024
2 parents d2b6adf + 09fab30 commit 999c77e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 999c77e

Please sign in to comment.