HudHud Tech — Tech & AI news platform
Wednesday, 25 November 2026
Breaking
Software & Apps

Rust 1.100 Stabilizes the Never Type After a Decade of Development

25 November 2026 2 min read هدهد تك | Hudhud Tech

The Rust team has released Rust 1.100.0, marking the language’s first three-digit stable version. This release finally stabilizes the never type after a decade of work, announced on November 12, 2026. It also stabilizes the core of the custom allocator API, introduces a `DropGuard` helper, and provides Cargo with opt-in dependency cooldowns and warnings for unused dependencies.

The key feature of this release is the stabilization of `!`, the canonical uninhabited type for computations that never return a value, such as `panic!()`, `return`, or an endless loop. Although functions have long utilized it as a return type, naming it in other contexts, like writing `Result` to indicate an operation that cannot fail, took ten years and five failed stabilization attempts to finalize.

Additionally, the release makes `std::convert::Infallible` an alias for `!`, aligning with its intended purpose. This change allows existing APIs that use `Infallible` to accept `!` seamlessly.

To implement this alias, the team introduced a small breaking change for the 2015, 2018, and 2021 editions, changing the fallback for the never type from `()` to `!`. This adjustment matches behavior already introduced in Rust 2024. The release notes indicate that the impact of this change is largely unnoticeable, although it may flag more code as unreachable. Developers encountering issues during the upgrade are advised to update their dependencies first, as fixes for widely used crates have already been released.

The core of the long-anticipated `allocator_api` is now stable, allowing library authors to define custom allocators for use with `Vec` and `Box` through the new `Allocator` trait. This forms the foundation for the Allocators 1.0 project goal. However, some critics on the internals forum have pointed out that Rust still lacks the granular control over allocation that languages like Zig offer, as the current design does not support inline storage, which can invalidate internal pointers. Despite this, the stabilized core is viewed as a workable starting point for broader collections support.

On Hacker News, one user noted that several useful stabilized APIs were not mentioned in the release blog post, including `bool::toggle()`, `Box::map()`, and `str::trim_prefix()` and `str::trim_suffix()`.

The new `global-min-publish-age` setting allows for a configurable window that holds back newly published versions, serving as an opt-in defense against malicious activities.

 

Source: InfoQ

What do you think of this story?

Share this story: