Thursday 3 December 2026, 03:09 PM
Rust 1.100.0 stabilizes the never type after a decade
Rust 1.100.0 stabilizes the `!` never type, unifies `Infallible`, and flips fallback from `()` to `!` across all editions after a decade of work.
Ten years is a long time to wait for a single punctuation mark to work the way it always seemed like it should. When Rust 1.100.0 arrived on November 12, 2026, and held steady through the 1.100.1 point release on November 27, it finally wrapped up an effort that started with RFC 1216 back in July 2015. After five failed or reverted attempts, the canonical uninhabited never type (!) is now stable in all type positions via Pull Request #155499.
Stabilizing ! looks like a small type-system detail on paper, yet in my experience reading and reviewing Rust code, it removes real cognitive load when dealing with error types. Having one clear way to express an impossible outcome makes signatures much easier to parse at a glance.
Making the impossible intuitive
For years, ! sat in an awkward half-stable state. We could use it in function return signatures to mark diverging code like return, loop {}, or panic!(), where control flow never hands a value back to the caller. Outside of that narrow slot, the compiler rejected it. Drop ! into a generic parameter, a struct field, or a type alias on a stable toolchain, and your build failed.
To paper over that gap, the standard library carried core::convert::Infallible (also exposed as std::convert::Infallible). In my experience mentoring engineers new to Rust, having two separate ways to say "this branch can never happen" created immediate friction. People would ask why diverging functions used ! while infallible return types leaned on Infallible, and the honest answer was just historical timing.
Rust 1.100.0 removes that duplication by redefining Infallible as pub type Infallible = !; (tracked in #155924). It also stabilizes impl<T> AsRef<T> for ! and impl<T> AsMut<T> for !. Practically speaking, our code gets cleaner right away. We can now write zero-cost infallible abstractions like Result<T, !> and use irrefutable pattern matching like let Ok(v) = res; on stable Rust. When a language drops redundant concepts and lets the syntax match how you already think about control flow, it becomes much more approachable.
Getting that clean surface behavior took plenty of quiet plumbing under the hood. The Rust team had to clear three specific compiler and standard-library blockers first:
- Fixing trait method lookup on coerced
!(#156047) - Adjusting
Sizedcoercion checks for inference variables (#157820) - Removing the unstable
From<!> for Treservation implementation (#160705), which had sparked coherence conflicts across 14 crates during Crater testing
The friction of flipping the fallback
To make ! work uniformly, Rust 1.100.0 flipped the never-type fallback from () to ! across pre-2024 editions (2015, 2018, and 2021), bringing them in line with Rust 2024.
I appreciate that the Rust team did not spring this on anyone overnight. They laid out a multi-release migration path: Rust 1.82 introduced the dependency_on_unit_never_type_fallback lint, Rust 2024 made the switch in Q1 2025, Rust 1.92.0 promoted the fallback lints to deny-by-default, and 1.100.0 flipped the older editions while removing the migration lint altogether.
Even with that long runway, changing compiler behavior across older editions is a sensitive call. LWN.net and the broader Rust community debated what this means for the project's backward-compatibility promises, and I share some of that unease. From a user-experience standpoint, predictability is half the reason teams trust a compiler. If I come back to a working 2018-edition service after six months and a toolchain bump breaks it, that erodes confidence, regardless of how sound the underlying type theory is.
Where the upgrade path gets bumpy
On the surface, the public crate registry looked ready. April 2026 Crater testing of #155499 initially flagged 3,277 regressions across 9,024 results, which the team whittled down to just 7 broken crates through compiler mitigations and maintainer-assisted backports.
Real-world Cargo.lock files rarely look as tidy as Crater runs, though. Empirical audits published in November 2026 showed that plenty of projects with pinned dependencies hit a wall on 1.100.0. Older versions of bluer (0.13.1 through 0.17.3), domain (0.8.0 through 0.10.1), redis 0.25.4, and rlua fail to compile due to unsatisfied trait bounds like !: FromRedisValue.
Two days after #155499 merged to nightly, Google Fuchsia contributors also ran into new deny(unreachable_code) failures (#161841) because unconstrained diverging expressions no longer decay to ().
What worries me most is how this interacts with unsafe code and end-user reliability. Because Cargo suppresses lints inside third-party dependencies, practitioners warned that unsafe code calling std::mem::zeroed() with an unconstrained fallback can still compile cleanly on 1.100.0, only to abort at runtime due to undefined behavior. When a compiler change turns a quiet fallback assumption into a runtime crash inside someone else's library, the people using our software are the ones who end up paying for it.
How I'm approaching the upgrade
If you or your team are still running pre-2024 editions in CI, I would not rush straight to 1.100.0. Because Rust 1.99 is now out of support and 1.100.0 removed the dependency_on_unit_never_type_fallback lint, the newest compiler will not gently walk you through what changed.
Before I bump any production service to 1.100.0, I am running cargo report future-incompatibilities on Rust 1.99.0 to see what is hiding in the dependency tree. I am also checking for #[allow(warnings)] overrides that might mask trouble and updating pinned crates like redis and bluer to versions that expect ! instead of (). Unifying Infallible with ! makes Rust a clearer, more coherent language to read and write, and I am glad the ten-year wait is over. I just want to be sure my lockfiles are clean before I roll it out.
References
- https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
- https://www.infoq.com/news/2026/11/rust-1-100-never-types/
- https://medium.com/@Krishnajlathi/rust-1-100-changed-never-type-fallback-could-it-affect-your-old-code-237a13e90d1e
- https://doc.rust-jp.rs/edition-guide/rust-2024/never-type-fallback.html
- https://zenn.dev/uniquevision/articles/a3c6bf655d4662
- https://www.linuxcompatible.org/story/rust-11000-release-never-type-stabilizes-after-a-decade/
- https://github.com/rust-lang/rust/issues/161925
- https://frostrank.com/blog/rust-1-100-never-type-stable
- https://rust.googlesource.com/rust/+/e7769602aca3770e8d8ea55716becb22e839a579
- https://blogs.abhipanseriya.dev/blog/rust-1-100-never-type-fallback
- https://daily.dev/posts/rust-1-100-0-stabilizes-the-never-type-the-allocator-api-and-cargo-dependency-cooldowns-ekxh7xptt
- https://kernelpost.com/rust-1-100-never-type-migration/
- https://www.ma-no.org/en/programming/rust-1-100-stabilizes-after-ten-years-and-five-failed-attempts
- https://github.com/rust-lang/rust/issues/155924
- https://medium.com/codeelevation/rust-1-100-changed-a-fallback-rule-that-can-silently-break-your-build-82514979b432
- https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html
- https://github.com/cloudwego/volo/issues/652
- https://rust.googlesource.com/rust/+/e9b6e639e123f2e3a387a3a11a9059a88ba42007
- https://github.com/rust-lang/rust/issues/123748
- https://www.reddit.com/r/rust/comments/1x3yz9i/psa_incoming_breakage_in_1100_test_your_code_on/
- https://github.com/rust-lang/rust/issues/161841
- https://dev.to/joho_todai/rust-1100-released-the-never-type-stabilizes-after-a-decade-while-cargo-adds-supply-chain-5e90
- https://lwn.net/Articles/1091015/
- https://www.infoworld.com/article/4105246/rust-1-92-touts-deny-by-default-never-type-lints.html
- https://www.youtube.com/shorts/sSmpQ3J0cHw
- https://doc.rust-lang.org/releases.html
- https://github.com/SSheldon/rust-objc/issues/62
- https://github.com/rust-lang/rust/issues/35121
- https://github.com/rust-lang/lang-team/issues/60
- https://daily.dev/posts/stabilizing-rust-s-never-type-3m43bd7y0
- https://daily.dev/posts/rust-agents-rewrite-themselves-without-asking-security-team-warns-of-fake-job-offers-nxuvxoo8p
- https://github.com/bluez/bluer/issues/189
- https://github.com/rust-lang/goals/issues/653
- https://goals.rust-lang.org/2026/stabilize-never-type.html
- https://www.youtube.com/watch?v=3jM4cnEVrLc
- https://hexcat.nl/updates/
- https://rust.googlesource.com/rust/+/0a3fa2af35783dcd1b4206a85fe7811297eea0bf
- https://github.com/rust-lang/rust/issues/158197
- https://weeklyrust.substack.com/p/the-best-rust-release-ever
- https://www.reddit.com/r/rust/comments/1u1v53c/the_never_type_is_likely_to_stabilize_soon/
- https://github.com/rust-lang/rust/issues/146085