General![[$] Stabilizing Rust's never type](/storage/uploads/covers/2026/09/1e0a09f2-2a76-4ce8-ab43-0ac53b623602.webp)
[$] Stabilizing Rust's never type
0 views
![[$] Stabilizing Rust's never type](/storage/uploads/covers/2026/09/1e0a09f2-2a76-4ce8-ab43-0ac53b623602.webp)
A function's return type is supposed to indicate the kind of data that it
produces.
Rust's "never" type, which is
denoted by an exclamation mark ("!"), is the type the language uses to mark
a function that never returns and other places where a value can never occur. For
a long time, the never type was used internally by the compiler, but was
considered an unstable feature. On
August 24, after more than two years of work,
Rust-compiler-contributor "waffle" finally managed to stabilize the type. It
took so long, in part, because it involved a small breaking
change to previous Rust editions, which the compiler maintainers needed to
ensure did not impact much real code.
Read original: https://lwn.net/Articles/1091015/
PreviousSSH through multiple jump hosts: a practical guide for Mac, iPhone, and iPadNextStackness launch
Related posts
I Read the Clankers' Code
0Hacker News
A Right-Wing Think Tank Has a Plan to Prevent Democrats From Being Seated in Congress
0Wired
White Noise Machines Worthy of Your Nightstand in 2026: Snooz, Hatch, and More
0Wired
F1 in Mexico City: Yet another Ferrari fiasco, but that’s not all
0Ars Technica
China publicly discloses plan for a lunar landing within three years
0Ars Technica
Let Me Ch...
0Hacker News