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

RUST-ANALYZER REWRITES MACRO EXPANSION INTERNALS, COMPILER PREDICATE CLEANUP LANDS

By RepoJournal · Filed · About Rust

Rust-analyzer stripped out another batch of legacy `ExpandDatabase` queries overnight while the compiler team tackled redundant predicate handling in type checking.

The rust-analyzer team is methodically removing deprecated query group patterns, merging three separate PRs that eliminate `ExpandDatabase` queries [1] [2] [3] and refactor macro expansion methods for consistency [4]. This is part of a larger internal cleanup tracked in the analyzer's issue backlog. Meanwhile, the compiler team landed a predicate cleanup PR [5] that removes code paths treating generic predicates as clauses when only clauses are actually valid, tightening type system invariants. A rollup of 19 fixes also shipped [6], including view-type AST support, Enzyme on Apple silicon, and delegation improvements. The rust-analyzer subtree synchronized with the main compiler [7], and an allocator safety rewrite landed [8] defining "equivalent allocators" for stdlib correctness guarantees.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] internal: remove some more `ExpandDatabase` queries ↗ rust-lang/rust-analyzer
  2. [2] internal: migrate `ExpandDatabase::*span_map` queries ↗ rust-lang/rust-analyzer
  3. [3] Merge pull request #22719 from ada4a/unquerygroup-macro_call_id-and-hir_file_id-methods rust-lang/rust-analyzer
  4. [4] internal: make `expand_speculative` a method on `MacroCallId` ↗ rust-lang/rust-analyzer
  5. [5] Predicate/clause cleanups ↗ rust-lang/rust
  6. [6] Rollup of 19 pull requests ↗ rust-lang/rust
  7. [7] `rust-analyzer` subtree update ↗ rust-lang/rust
  8. [8] Rollup merge of #157801 - theemathas:allocator-safety-rewrite, r=Amanieu rust-lang/rust

Quick answers

What shipped in Rust on July 8, 2026?
Rust-analyzer stripped out another batch of legacy `ExpandDatabase` queries overnight while the compiler team tackled redundant predicate handling in type checking. In total, 105 commits, 11 pull requests, and 1 releases landed.
Who contributed to Rust on July 8, 2026?
4 developers shipped this update, including ada4a, nnethercote, JonathanBrouwer, and lnicola.
What were the notable Rust updates?
internal: remove some more `ExpandDatabase` queries, internal: migrate `ExpandDatabase::*span_map` queries, and Merge pull request #22719 from ada4a/unquerygroup-macro_call_id-and-hir_file_id-methods.

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?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.