Rust 1.100.1 Drops a Patch That Exposes the Trait Solver's Weak Underbelly
The release fixes a type inference regression that broke Apple-targeted Rust projects, but the real story is what happened under the hood.
Rust 1.100.1 landed today. It exists to patch a hole that opened in stable just two weeks after Rust 1.100 shipped. A change to an unstable const version of Iterator::nth accidentally broke valid implementations of the Iterator trait across the board. If you upgraded your toolchain and watched your build fail on a crate that used to compile cleanly, this is for you.
To understand why the team rolled out a patch this fast, you need a quick look at what Rust 1.100 actually delivered. That release shipped on November 12. It was one of the biggest in the language's history. The never type stabilized after a decade of iteration and five failed attempts. core::convert::Infallible finally became a proper alias for it. Allocators like Box::new_in and Vec::from_fn crossed the finish line. Cargo added dependency cooldowns to defend against supply-chain attacks. The platform list expanded to include a PS3 target at Tier 3. It was a lot.
So when a regression shows up in week two, the release team treats it as an emergency.
The culprit was PR #156216, which made Iterator::nth and DoubleEndedIterator::nth_back const-capable. The change looked harmless on paper. It stripped the #[rustc_non_const_trait_method] attribute and added a where-clause bound to both methods. The trait solver's ParamEnv normalization choked on the new bound during impl checking. Specifically, it failed to normalize clauses in two distinct steps: first against the unnormalized implementation environment, then against the trait method's param env.
The symptom was narrow but brutal. Code that compiled cleanly on Rust 1.99.0 suddenly threw E0277: "not an iterator." Only overrides of nth() and nth_back() broke. next() kept working fine. Types that implemented Iterator through a Deref::Target bound hit the wall first.
Here's where it got real for a lot of developers. The objc2 crate at version 0.4.1 sat directly in the blast radius. That crate powers Apple-targeted Rust GUI development. Break it and winit, glutin, and eframe all stumble. A bunch of macOS and iOS projects stopped compiling on upgrade. Downstream maintainers started pinning to Rust 1.99.0 as a workaround. That kind of pinning usually means a crate maintainer is losing sleep.
The fix arrived as PR #166340 by @clarfonthey. It simply reverted the change to the unstable const version of Iterator. The team's official statement nails the scope:
We reverted a change to the unstable const version of Iterator in Rust 1.100.0, which cannot actually be used by stable code, but accidentally prevented some types with valid Iterator impls from being seen as actually implementing Iterator.
The const-Iterator feature was never stabilized, which is a key detail. Stable code couldn't actually call the const variant anyway. But the where-clause bound leaked into normal trait impl checking, tripping up type inference for non-const usage. The PR merged on November 24. The patch released November 27. From bug report to fix: seven days. That includes a weekend.
This isn't the first time objc2 has tripped over nth. The same crate took a hit back in 2023 when a similar bound was added. Same root cause. Same incomplete ParamEnv normalization. @RalfJung pointed out in the issue comments that the original fix didn't add a regression test for this exact scenario. The hybrid trait solver's normalization has been a known gap for years. The team has been quietly migrating to a "next solver" for a while, but stabilization keeps getting incremental. Reverting was the pragmatic call. It buys time for the trait-system-refactor initiative to land a proper two-step normalization without derailing the next major cycle.
What You Should Do
If you're already running Rust 1.99.0 or earlier, nothing changes for you. The regression is tied to 1.100.0. If you've upgraded to 1.100.0 and hit the error, jump straight to 1.100.1. You shouldn't need to touch a single line of code unless you were already working around the bug with extra trait bounds. Projects pinned to objc2 versions below 0.5 will compile again without a hassle.
New upgrades to the 1.100.x line should still be treated with caution. Rust 1.100 introduced several breaking changes beyond this regression. The never type fallback shifts from () to ! on older editions. ARM and x86 ABI rules tightened up. Review the full compatibility notes before committing to stable.
The real takeaway here isn't the bug itself. It's what the bug reveals about Rust's trait system. Even unstable features leak into stable code when they share definitions with core traits like Iterator. You can stabilize !, but you can't escape its consequences. The never type took ten years to land. The immediate surface of inference edge cases it pulled to the surface shows that language design is a moving target. The patch pipeline works, though. Seven days from report to resolution is faster than most major version cycles. That's a good signal for a community that actually cares about stability.
Head here to the official announcement and here to the structured changelog for the full details.
