github rust-lang/rust-analyzer 2026-09-28

7 hours ago

Commit: 03fcb77
Release: 2026-09-28 (v0.3.3065)

New Features

  • #23390 support hover on #[cfg] predicates:

Fixes

  • #23407 (first contribution) prioritize required items in trait autocomplete.
  • #23410 (first contribution) keep semantic token cache on refresh.
  • #23416 (first contribution) fix safe to unsafe function coercion.
  • #23185 fix const eval casting of single-variant enums.
  • #23421 report undefined behavior when reading the discriminant of an uninhabited enum.
  • #23409 fix panic in async closures with HRTB.
  • #23365 show trait impl when hovering on methods.
  • #23382 complete #[cfg(false)].
  • #23413 de-duplicate +#[derive]+ and +#[test]+ in completions.
  • #23399 don't duplicate parentheses in attribute completions.
  • #23395, #23414 complete strings in #[cfg] values.
  • #23406, #23405 check for matching types in type alias and const completions.
  • #23408 don't prioritize unknown types in completions.

Internal Improvements

  • #23351 (first contribution) simplify Windows path encoding.
  • #23398 add GenericSubstitution::all_types.
  • #23386 activate extension even when the server fails to start.
  • #23391 ignore nightly date string in xtask codegen.
  • #23429 use GitHub self-repository syntax for release action.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.