Skip to content

Releases

nightly

nightly Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 06:02
88dd3e0
Merge pull request #23470 from BenjaminBrienen/trusted-publishing

Use trusted publishing

2026-11-16

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:33
946b80a

Commit: 946b80a
Release: 2026-11-16 (v0.3.3121)

Fixes

  • #23585 (first contribution) parse final associated functions.
  • #23638 don't evaluate large u128 values to negative floats.
  • #23543 fix a panic with for<'a> on types using #[derive()].
  • #23654 add & for postfix .for completions if only references implement IntoIterator.
  • #23637 add macOS, iOS, Android and musl #[cfg(target)] completions.
  • #23636 don't complete #[repr(transparent)] after align(...) or packed.
  • #23649 don't complete types in type anchors.
  • #23647 complete fn and unsafe after const.

Internal Improvements

  • #23635 (first contribution) add --num-threads to lsif.
  • #23665 replace builtin # with forced keywords.
  • #23640 disallow ZSTs in ThinMap.
  • #23657 update hir-ty/next_solver/consts to match 0.166.
  • #23599 run the bundler on the extension crate graph view.
  • #23639 bump Node.js target and VS Code dependencies.

See also the changelog post.

2026-11-09

Choose a tag to compare

@github-actions github-actions released this 09 Nov 05:46
e5e7830

Commit: e5e7830
Release: 2026-11-09 (v0.3.3113)

New Features

  • #23600 (first contribution) add option to only show implicit drop hints for types with drop glue.
  • #23558 (first contribution) remove the "Create Rust Project" button from the welcome view.
  • #23583, #23589, #23619 add invalid-pat-path-res, match-inherited-imm-ref-with-mut-ref-pat and unresolved-associated-type diagnostics.
  • #21392 enable jemalloc for Linux glibc releases.

Performance Improvements

  • #23591 micro-optimize lang items.

Fixes

  • #23598 (first contribution) match rustc-unicode locations in the problem matcher.
  • #23478, #23631 complete trait dyn in type location.
  • #23606 improve emission of associated item bounds on built-in derives.
  • #23610 match rustc coercion logic.
  • #23608 fix a panic in MIR evaluation.
  • #23579 don't suggest unreachable paths for struct literals.
  • #23615 fix #[repr(i28)] completion.
  • #23620 offer destructure_struct_binding on wildcard patterns.
  • #23592 offer generate_doc_example on re-exported item.
  • #23554 fix GAT bounds position after move_bounds_to_where_clause.
  • #23616 fix a panic on casts in apply_demorgan.
  • #23602 fix a panic in generate_function when generics are present.

Internal Improvements

  • #23623 store {Type,Const}ParamId in keys::{TYPE,CONST}_PARAM.
  • #23514 merge expect-test into the rust-analyzer repo.

See also the changelog post.

2026-11-02

Choose a tag to compare

@github-actions github-actions released this 02 Nov 06:53
b98172d

Commit: b98172d
Release: 2026-11-02 (v0.3.3105)

New Features

  • #23573, #23572 bump rustc_lexer and handle forced keywords (k#).

Performance Improvements

  • #23228 add ThinMap, a map that uses ThinVec when the length is small (saves 38 MB on self).

Fixes

  • #23534 (first contribution) fix push diagnostics.
  • #23495 fix a panic on by projection types.
  • #23562 don't complete f(*&val).
  • #23586 fix lowering of yield in async gen.

Internal Improvements

  • #23588 use macOS 15 runners and bump deployment target.
  • #23577 remove InferenceResult.error_ty.
  • #23576 bump rowan.

See also the changelog post.

2026-10-26

Choose a tag to compare

@github-actions github-actions released this 26 Oct 08:21
0c4d746

Commit: 0c4d746
Release: 2026-10-26 (v0.3.3097)

Fixes

  • #23533 (first contribution) emit invalid-range-pat-type range patterns with invalid inferred types.
  • #23231 fix a panic in inline_call with usages in macro calls.
  • #23518 escape keyword module name completions.
  • #23529 offer main and lib modules in completion.
  • #23489 compute ref-match on undotted self.
  • #23424 fix some NamedTempFile issues on Windows.
  • #23296 search manifest ancestors for the lockfile when fetching Cargo metadata.
  • #23552 fix status message reporting for clients not supporting experimental/serverStatusNotification.

Internal Improvements

  • #23484 set up automated sync of target feature implications.
  • #23536, #23535, #23532 publish a new version of smol_str.

See also the changelog post.

2026-10-19

Choose a tag to compare

@github-actions github-actions released this 19 Oct 05:09
5ec20d0

Commit: 5ec20d0
Release: 2026-10-19 (v0.3.3089)

New Features

  • #23428 support inlining functions into macro calls.

Performance Improvements

  • #23207 querify some functions called by the trait solver.

Fixes

  • #23513 (first contribution) fix a viewMir panic in code containing field projections.
  • #23500 allow _ = return else {};.
  • #23508 update enum niche decoding to match rustc.
  • #23179 fix handling of generic params in anonymous consts.
  • #23504 fix a stack overflow when computing the layout of recursive structs.
  • #23523 improve attribute completion when missing snippet support.
  • #23507 quote attribute values cfg!() completions.
  • #22185 handle tail expressions in the type-mismatch quick fix.
  • #23493 don't offer add_turbo_fish for lifetimes.
  • #23173 disambiguate SCIP monikers in crates with multiple targets.

Internal Improvements

  • #23488 (first contribution) pin GitHub actions by hash.
  • #23503 (first contribution) pass rustc path to unstable-book-gen.
  • #23181 break up hir-ty up, part 1.

See also the changelog post.

2026-10-12

Choose a tag to compare

@github-actions github-actions released this 12 Oct 04:48
2ad81e7

Commit: 2ad81e7
Release: 2026-10-12 (v0.3.3081)

New Features

  • #23452, #23487 don't complete argument list when a callable is expected.
  • #23473 complete turbofish at call sites when needed.

Fixes

  • #23443 (first contribution) fix panic with escape sequences inside #[doc].
  • #23422 (first contribution) fix panic on malformed let pattern with mismatched arm arities.
  • #23061 implement opaques_with_sub_unified_hidden_type, fixing type mismatches in recursive async functions.
  • #23476 handle downcasts in enum closure capture.
  • #23477 improve parser recovery after attributes at the end of blocks.
  • #23456 ignore leading and trailing underscores in completion name matching.
  • #23467 improve incomplete statement completion heuristic.
  • #23486 fix completions under inner doc comments.
  • #22982 offer let completions in macro calls which expand to statements.
  • #23441 update paths after extracting trait into a module.

Internal Improvements

  • #23483 (first contribution) sync target feature implications from rustc_target.
  • #23482 port recent closure capture inference changes from rustc.
  • #23444 attach HIR database in rust-analyzer unresolved-references.
  • #23485, #23494 use trusted publishing for lib and autopublish crates.
  • #23434 make fixtures work in check_with_base_items.

See also the changelog post.

2026-10-05

Choose a tag to compare

@github-actions github-actions released this 05 Oct 07:05
65ac641

Commit: 65ac641
Release: 2026-10-05 (v0.3.3073)

Fixes

  • #23464 (first contribution) use sub-unification roots in type_var_is_sized.
  • #23462 (first contribution) offer "Generate variant" on Self.
  • #23468 offer let and letm completions in arm and closure expressions.

Internal Improvements

  • #23197 some small cleanups and micro-optimizations.
  • #23196 don't lower the same types twice hir-ty.
  • #23419 don't compute hover information for SCIP.
  • #23448, #23449, #23455 pin unicode-ident.

See also the changelog post.

2026-09-28

Choose a tag to compare

@github-actions github-actions released this 28 Sep 04:52
03fcb77

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

New Features

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

    Screenshot showing a feature=in-rust-tree predicate evaluating to false

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.

2026-09-21

Choose a tag to compare

@github-actions github-actions released this 21 Sep 04:42
aaddfb7

Commit: aaddfb7
Release: 2026-09-21 (v0.3.3057)

New Features

  • #23384 support completions inside cfg!():

    Screenshot showing if cfg!(any(target_)) completions

Fixes

  • #23375 (first contribution) watch include roots recursively only once, on directory.
  • #23370 (first contribution) fix broken server binary check.
  • #23359 (first contribution) cache macro-expanded roots when climbing ancestors.
  • #23367 work around a panic when the trait solver re-enters itself.
  • #23368 return an early error on unsupported string binary operations.
  • #23360 include working directory when discovery command fails.

Internal Improvements

  • #23308 refactor SyntaxContext to not reimplement salsa macros.

See also the changelog post.