logoalt Hacker News

LoganDark • today at 7:49 PM • 0 replies • view on HN

It's the type called "!", or the return value of diverging control flow, such as infinite loops, returns or function calls that panic or abort. It's an uninhabited type, meaning no values of it can actually exist, and that any code that would encounter such a value is unreachable.