Rust Stabilises the Never Type and a Core Allocator API in Its Latest Release
The newest stable Rust release stabilises the never type after a long delay, adds the core of the custom allocator API, and gives Cargo opt-in dependency cooldowns and unused-dependency warnings.

TL;DR
- The latest stable Rust release stabilises the never type, a long-delayed feature that had stalled through several attempts.
- The core of the custom allocator API is now stable, and Cargo gets opt-in dependency cooldowns and warnings for unused dependencies.
- Most code should upgrade without trouble, but a fallback change in older editions can flag more code as unreachable.
What the never type is
The never type, written as !, describes a computation that never produces a value. Typical examples are a call to panic!(), a return statement, or an endless loop. Rust functions have long used it as a return type, but the language did not allow it to be named freely elsewhere. That meant a signature such as Result<T, !>, which describes an operation that cannot fail, was not possible. Getting the type into the stable language took about ten years and multiple failed stabilisation efforts.
The release also makes std::convert::Infallible an alias for !. Infallible was already used in standard APIs to mean "cannot fail", so existing signatures that use it now accept ! without changes on the caller side.
A small breaking change for older editions
To make that alias work, the team changed the fallback type used in type inference from () to ! for the 2015, 2018 and 2021 editions. The 2024 edition already behaves this way. The release notes describe the practical impact as small, but they warn that some code may now be flagged as unreachable. The advice is to update dependencies first, because fixes for widely used crates have already been published.
Allocators and Cargo changes
The core of the allocator API is also stable. It lets library authors write custom allocators and use them with types such as Vec and Box through the new Allocator trait. The Rust team describes this as the base for its Allocators 1.0 project goal. Not everyone is satisfied. Critics on the internals forum argue that the current design cannot support inline storage, because moving a value invalidates internal pointers, so Rust still lacks the fine-grained allocation control that Zig offers. Supporters see the stable core as a workable starting point for broader collection support.
Cargo gets a new global-min-publish-age setting in the registry configuration. It holds back newly published versions for a configured period, which is an opt-in defence against malicious crate releases. On Hacker News, developer woodruffw argued that cooldowns should not block security fixes, and that security advisories should be applied right away while normal updates wait. The setting also has known gaps. According to ImportStatic, who tested the beta, cargo install ignores it, and an update could downgrade a forced security fix. The release notes list this as a known caveat. Cargo also gains warnings for unused dependencies.
Other additions include core::mem::DropGuard, which runs a closure on every exit path, and std::mem::conjure_zst for zero-sized types in unsafe code. Smaller helpers such as bool::toggle, str::trim_prefix, str::trim_suffix and Box::map also arrived. Some of these were missing from the official blog post, as a Hacker News commenter pointed out, so the release documentation is the better reference.
Why it matters
For most teams the upgrade path is simple: run rustup update stable. Projects on the 2015, 2018 or 2021 editions should run their test suite and look at new unreachable-code warnings, and update dependencies before anything else. The previous release is no longer supported, and the next release is planned for around late December, following the six-week cadence.
Library authors can now experiment with custom allocators on stable Rust, though the design is still debated. Teams that depend on supply chain protection can enable the cooldown setting, but should not rely on it alone. Check how your tooling handles security fixes, and keep a fast path for applying advisories. The new ! type will mostly matter for library APIs that want to express failure-free operations more precisely.
Sources
This article was written by Blozhik from the reporting below. Read the originals for full detail.
InRust 1.100 Ships the Never Type After Ten Years and Five Failed AttemptsInfoQKeep reading


