RepoJournal
Rust

@rust-lang

The Rust language, Cargo, and the standard library

Keep up with Rust in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Rust Full archive →

The Wire · Showcase

CLIPPY FIXES NESTED INDEX TRAP, RUST CORE ROLLS UP 28 MERGES

By RepoJournal · Filed · About Rust

Clippy's `needless_range_loop` stops suggesting wrong rewrites when indexes nest or follow field accesses, closing four separate bug reports in one fix.

The linter was confidently breaking code by suggesting incorrect transformations when index access followed other field operations or when indexes nested, but that's fixed now [1]. In parallel, a second Clippy patch tightened up `redundant_pattern_matching` to properly parenthesize guarded `matches!` suggestions, preventing silent precedence changes in patterns that bind tighter than `&&` [2]. The Rust compiler side shipped a 28-PR rollup [4] landing L4Re target revival, splatted function pointer support, delegation return-value wrapping via `From::from`, and bootstrap fixes that restore `./x clippy` after recent check-kind refactoring broke it [3]. Across the language ecosystem, crates.io is separating GitHub identities from canonical Rust usernames in its user API [6], while the registry continues dependency maintenance with TypeScript and Storybook updates [5], plus a clean removal of the deprecated `gh_encrypted_token` column [7]. All told: 142 commits, 22 PRs across five repos, with the Clippy correctness wins being the most immediately valuable for daily lint runs.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fix `needless_range_loop` suggests wrongly for nested index ↗ rust-lang/rust-clippy
  2. [2] `redundant_pattern_matching`: parenthesize guarded `matches!` suggestion ↗ rust-lang/rust-clippy
  3. [3] Rollup merge of #160606 - Zalathar:check-kind, r=Kobzol rust-lang/miri
  4. [4] Rollup of 28 pull requests ↗ rust-lang/rust
  5. [5] Update dependency typescript-eslint to v8.66.0 ↗ rust-lang/crates.io
  6. [6] Use crates.io usernames for user lookups and responses ↗ rust-lang/crates.io
  7. [7] Merge pull request #14259 from carols10cents/remove-users-gh-encrypted-token rust-lang/crates.io

Quick answers

What shipped in Rust on August 8, 2026?
Clippy's `needless_range_loop` stops suggesting wrong rewrites when indexes nest or follow field accesses, closing four separate bug reports in one fix. In total, 142 commits and 22 pull requests landed.
Who contributed to Rust on August 8, 2026?
10 developers shipped this update, including bors, profetia, flip1995, shulaoda, Ada Alakbarova, Jonathan Brouwer, MarcoIeni, and renovate, and 2 more.
What were the notable Rust updates?
Fix `needless_range_loop` suggests wrongly for nested index, `redundant_pattern_matching`: parenthesize guarded `matches!` suggestion, and Rollup merge of #160606 - Zalathar:check-kind, r=Kobzol.

More from @rust-lang

Daily updates, in your inbox

Follow Rust

Keep up with Rust in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?