|
| 1 | += Changelog #298 |
| 2 | +:sectanchors: |
| 3 | +:experimental: |
| 4 | +:page-layout: post |
| 5 | + |
| 6 | +Commit: commit:4e147e787987fdb1baf081bd5c60bedfb0aabe16[] + |
| 7 | +Release: release:2025-08-11[] (`v0.3.2571`) |
| 8 | + |
| 9 | +== An Update on the Next Trait Solver |
| 10 | + |
| 11 | +We are very close to switching from `chalk` to the next trait solver, which will be shared with `rustc`. |
| 12 | +`chalk` is _de-facto_ unmaintained, and sharing the code with the compiler will greatly improve trait solving accuracy and fix long-standing issues in `rust-analyzer`. |
| 13 | +This will also let us enable more on-the-fly diagnostics (currently marked as experimental), and even significantly improve performance. |
| 14 | + |
| 15 | +However, in order to avoid regressions, we will suspend the weekly releases until the new solver is stabilized. |
| 16 | +In the meanwhile, please test the pre-release versions (nightlies) and report any issues or improvements you might notice. |
| 17 | + |
| 18 | +== Fixes |
| 19 | + |
| 20 | +* pr:20381[] check expected type for assignments in completions. |
| 21 | +* pr:20382[] correctly go to `impl From` from `into()` even inside macros. |
| 22 | +* pr:20387[] do not remove the original token when descending into derives. |
| 23 | +* pr:20412[] properly handle names matching identifiers in `generate_function`. |
| 24 | +* pr:20418[] fix `extract_expressions_from_format_string` on `write!` calls. |
| 25 | +* pr:20354[] remove no-op calls in `remove_dbg`. |
| 26 | +* pr:20384[] fix external docs URL for exported macros. |
| 27 | + |
| 28 | +== Internal Improvements |
| 29 | + |
| 30 | +* pr:20417[] (first contribution) fix parsing of trait bound polarity and `for`-binders. |
| 31 | +* pr:20419[] make flycheck generational. |
| 32 | +* pr:20385[] migrate `expand_glob_import` assist to `SyntaxEditor`. |
| 33 | +* pr:20373[] generate an `ast::Module`, not `String`, in `extract_module`. |
| 34 | +* pr:20383[] remove `ted` from `replace_named_generic_with_impl`. |
| 35 | +* pr:20380[] remove `add_attr` from `edit_in_place` because it use `ted`. |
| 36 | +* pr:20409[] add `write!` and `writeln!` to `minicore`. |
| 37 | +* pr:20400[] disable error reporting when clamping a position. |
| 38 | +* pr:20393[] fix non-LSP compliant `Response` definition. |
| 39 | +* pr:20392[] report the incorrect payload when failing to deserialize LSP messages. |
| 40 | +* pr:20389[] slim down compile-time artifact progress reports. |
0 commit comments