Commit: d646b23
Release: 2025-12-01 (v0.3.2702)
New Features
#21027(first contribution) build releases with static CRT for-windows-msvctargets.#21121add basic support for declarative attribute and derive macros.#20125display inferred placeholder types inlay hints and use them in "Extract type as type alias".
Fixes
#21077(first contribution) handle more block types and show modifiers in closing brace inlay hints.#21151don't run cache priming when disabled.#21095fix iterator completions after auto-deref.#20937don't suggest duplicateconstcompletions afterraw.#20976fix completion after inner attributes.#21144fix completion afterexternand addcratecompletion.#21028complete enum aliases in patterns.#21126fix parameter info with missing arguments.#20163use per-token, not global, edition in the parser.#20164pass the per-token, not global, edition when expanding declarative macros.#20217use root hygiene for speculative resolution.#21170support multipleenabled features in#[target_feature].#21159,#21172rewritedyn Traitlowering to follow rustc.#20685support multiple variants ingenerate_enum_{is,projection}_method.#20967offerreplace_method_eager_lazyonand.#21141setenclosing_rangein the SCIP index.#21131check snippet capabilities in#[cfg(…)]key completion.#21023fix handling of cloned elements inSyntaxEditor.#21147show a dropdown in the UI forrust-analyzer.imports.granularity.group.
Internal Improvements
#20892reintroduce attribute rewrite.#21097,#21145,#21146,#21154reimplement proc macro server token trees as immutable, to speed up concatenation.#20986,#21133,#21135,#21139,#21179integratepostcardinto the proc-macro server.#21149use a single query per crate for lang items.#21167shrinkInferenceResultby ~40 bytes.#21169use newsalsaAPI forinfer.#21115bumprustccrates.#21177fixSmolStrpretty-printing forRepr::Static.
See also the changelog post.