As the other commenter said, `unreachable!()` panics. You'd need https://doc.rust-lang.org/core/hint/fn.unreachable_unchecked...
And I am also not arguing for the use of `unreachable_unchecked!()`.
I am only arguing that in all the other cases mentioned, you can simply avoid panics.