Rust 1.100, released November 12, makes the never type available on stable Rust. Written as !, it describes a type with no possible values. That idea already explains why a function that never returns can appear in code that expects a different type. Stabilization also gives library authors a way to write the never type in interfaces where it could not previously be used on stable. Rust release notes · Rust Reference
Suppose a generic parser asks every implementation for an error type. A real parser might supply a structure describing invalid input. An implementation that always succeeds can use ! as its error type. A caller that sees that type knows the error path cannot contain a value. The Rust Reference uses the same idea to explain an infallible string conversion. Rust Reference
For a library maintainer, the decision is whether that clearer description is worth adopting in a public API now. A crate that starts using the newly stabilized syntax needs a compiler that supports it. If people build the crate with an older compiler, the release that adopts it needs to account for those users. Changing an existing public error type also deserves review on its own, since downstream type signatures can depend on what the library exposes.
For a team that builds an application and controls its toolchain, adoption can be local to the places where the type clarifies control flow. For a widely used crate, the practical milestone is the first library release that uses it. That is when the compiler upgrade can reach downstream users.
Sources and verification
Company-specific facts were checked on the dates below. Calculations and recommendations are our analysis. Confirm current terms with the provider before acting.
- Rust 1.100 release notes ↗Checked 2026-11-15
- The Rust Reference on the never type ↗Checked 2026-11-15
Found an error? Send a correction with the claim and official source.