The Wire · Showcase
RUST-ANALYZER GAINS MACRO SUPPORT IN DOCS, CARGO ABSORBS 14 COMMITS
By RepoJournal · Filed · About Rust
rust-analyzer shipped three major IDE fixes overnight while the Rust compiler pulled in Cargo's latest with built-in debug profiles and inherited default-features control.
rust-analyzer is now parsing macros correctly in #[doc] attributes [1], handling inline asm with keywords as operand names [2], and supporting the #[rustc_must_implement_one_of] attribute in assists [3]. These three commits from ChayimFriedman2 close long-standing parser gaps that were blocking real-world code patterns. Futures-rs bumped syn to v3 to reduce duplicate dependencies and compile times [4], resolving the MSRV concern by keeping it at 1.71. On the compiler side, the Cargo submodule update [5] brings 14 commits including a new built-in debug profile and support for overriding inherited default-features in the 2024 edition, plus improved resolver reporting for min-publish-age. The stdlib continues cleanup with mejrs removing unused diagnostic items and Box implementations [6] [7] [8]. crates.io landed backend support for explicit signup with pending sessions [9], laying groundwork for the frontend signup flow without disrupting existing GitHub-linked users.
One email a day. Unsubscribe in one click.
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. Read a past issue →
Action items
- → Pull latest Cargo submodule if you maintain dependency resolution rust-lang/rust [plan]
- → Update to futures-rs with syn v3 if you use futures-macro rust-lang/futures-rs [monitor]
- → Test rust-analyzer with your macro-heavy code to verify doc parsing rust-lang/rust-analyzer [monitor]
References
- [1] fix: Support macros in `#[doc]` attributes in IDE features ↗ rust-lang/rust-analyzer
- [2] fix: Parse inline asm with keyword as operand name ↗ rust-lang/rust-analyzer
- [3] feat: Support `#[rustc_must_implement_one_of]` in the assists ↗ rust-lang/rust-analyzer
- [4] chore(macro): bump `syn` to v3 ↗ rust-lang/futures-rs
- [5] Auto merge of #160727 - weihanglo:update-cargo, r=weihanglo rust-lang/rust
- [6] Remove unused Box diagnostic impl rust-lang/rust
- [7] Remove unused diagnostic items and features rust-lang/rust
- [8] Remove `DiagMessage` unused diagnostic item rust-lang/rust
- [9] Add backend support for explicit signup ↗ rust-lang/crates.io