github rust-lang/rust-analyzer 2025-01-20

9 hours ago

Commit: 248bd51
Release: 2025-01-20 (v0.3.2273)

New Features

  • #18917 add dereferencing completions.
  • #18927 automatically include await, iter() and into_iter() in completions
  • #18925 render type parameter projection target bounds in inlay hints.
  • #18946, #18950 show "Go to type definition" actions for type bounds in functions.
  • #18952 complete raw and const keywords.
  • #18939 flip rust-analyzer.typing.excludeChars to be opt-in, with better defaults.

Fixes

  • #18908 (first contribution) report errors blocks before else in let-else.
  • #18953 (first contribution) fix broken #[cfg(debug_assertions)].
  • #18933 (first contribution) bump update notify to fix a Windows crash.
  • #18944 update chalk, to fix trait upcasting.
  • #18949 partially back out "fix source root construction for virtual manifests".
  • #18929 avoid stack overflow when reaching macro expansion limit.
  • #18940 fix Semantics not always caching file roots correctly.
  • #18922 don't return inlay hints outside requested range.
  • #18897 make test_runner::TestState::stdout optional to fix parsing cargo test JSON output.
  • #18968 enable unstable-options for cargo rustc --print.
  • #18937 hide syntax tree view by default.

Internal Improvements

  • #18957 update syntax tree viewer docs.
  • #18951 add missing #[rust_analyzer::rust_fixture] annotations.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.