Weekly changelog for rust-analyzer covering commit 5c156cd and release v0.3.3025 dated August 24, 2026. Adds a new diagnostic that flags unary operators applied incorrectly, and optimizes token tree storage to save 32 MB of memory on the rust-analyzer self-build.

1m read timeFrom rust-analyzer.github.io
Post cover image

Questions this post answers

What does the unary-operator-cannot-be-applied diagnostic do in rust-analyzer?

It is a new diagnostic added in rust-analyzer release v0.3.3025 (2026-08-24) that flags cases where a unary operator is applied to a type that does not support it. The change was introduced in pull request #23147 as part of that week's release. Developers tracking rust-analyzer diagnostics can follow release notes like this on daily.dev.

What performance improvement did rust-analyzer make to token tree storage?

Rust-analyzer optimized the storage of token trees, saving 32 MB of memory when building rust-analyzer itself, as part of pull request #23079 included in release v0.3.3025 dated 2026-08-24. This reduces memory overhead for the tool's internal representation of syntax tokens. Rust developers watching tooling memory improvements can track updates like this on daily.dev.

437 Impressions