Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kibwen
· 2mo ago · 0 comments
I'm unclear what this is implying, but in Rust the never type is uninhabited.
https://doc.rust-lang.org/reference/items/enumerations.html#...
Comments
[–]
SabrinaJewson
2mo ago
In Rust, `loop {}` is an expression of type `!`, which means that from a type-theoretic perspective it is inhabited. This means that the Curry–Howard correspondence fails for Rust.
[–]
ratmice
2mo ago
Perhaps it refers to PhantomData<!> but I don't know