Re:Weird Expressions in Rust
by dmkolobov on Friday June 27, 2025 @08:27PM
(#44401478)
On the more mainstream side of things, Typescript also has a bottom type called `never` which is used to type unreachable/exceptional code.
[ Parent
| on HN ]
Rust has this too: https://doc.rust-lang.org/std/primitive.never.html