|
| 1 | += Changelog #307 |
| 2 | +:sectanchors: |
| 3 | +:experimental: |
| 4 | +:page-layout: post |
| 5 | + |
| 6 | +Commit: commit:9d58a93602913a1a2ecff29422eb4da67d304d9d[] + |
| 7 | +Release: release:2025-12-22[] (`v0.3.2727`) |
| 8 | + |
| 9 | +== New Features |
| 10 | + |
| 11 | +* pr:21295[], pr:21307[] use GC instead of `salsa` interning for solver types (salves 648 MB and 31 s on `self`). |
| 12 | +* pr:21240[] show parameter inlay hints for missing arguments. |
| 13 | +* pr:20996[] add "Insert explicit method call derefs" assist. |
| 14 | +* pr:21309[] add LSP extension to get failed obligations for a given function. |
| 15 | +* pr:21282[] add `crate_attrs` field to `rust-project.json`. |
| 16 | + |
| 17 | +== Fixes |
| 18 | + |
| 19 | +* pr:21270[] (first contribution) fix "file emitted multiple times" errors in `rust-analyzer scip`. |
| 20 | +* pr:21276[] fix reference-style links in hover. |
| 21 | +* pr:21304[] strip invisible delimiters in MBE. |
| 22 | +* pr:21262[] use the HIR to check for used locals. |
| 23 | +* pr:21032[] don't add semicolons to unit-returning function calls in argument lists. |
| 24 | +* pr:21278[] suggest `&mut T` for `&T` in completions. |
| 25 | +* pr:21289[] suggest `&T` for `&&T` in completions. |
| 26 | +* pr:21212[] use variant name as variable in postfix completions for enums. |
| 27 | +* pr:21166[] support `this` parameter name in closures. |
| 28 | +* pr:21277[] fix reference stripping in expected type analysis. |
| 29 | +* pr:21291[] fix expected type analysis for match arms. |
| 30 | +* pr:20438[] fix guessing of braces for renamed macros. |
| 31 | +* pr:21293[] don't offer `move_guard` in blocks with multiple statements. |
| 32 | +* pr:21258[] support `add_return_type` for functions defined inside closures. |
| 33 | +* pr:20576[] support nested `if-let` in `merge_nested_if`. |
| 34 | +* pr:20577[] fix indent in `merge_nested_if`. |
| 35 | +* pr:21266[] keep expression in `replace_let_with_if_let`. |
| 36 | +* pr:21272[] prepend workspace root to target file for sysroot metadata. |
| 37 | +* pr:21273[] fix method resolution for incoherent impls when there are two sysroots in the crate graph. |
| 38 | + |
| 39 | +== Internal Improvements |
| 40 | + |
| 41 | +* pr:21316[] call out feature freeze on IDE assists. |
| 42 | +* pr:21314[] add "Use of AI tools" https://github.com/rust-lang/rust-analyzer/blob/master/CONTRIBUTING.md#use-of-ai-tools[section] to developer docs. |
| 43 | +* pr:21279[] add special `ErasedFileAstId` used to bypassing downmapping. |
| 44 | +* pr:21298[] pretty-print attributes up to `cfg(false)`. |
| 45 | +* pr:21284[] bump `rustc` crates. |
| 46 | +* pr:20439[] add hint to use `T![]` instead of `T! {}`. |
| 47 | +* pr:20472[] drop style guide entry about precondition checks. |
0 commit comments