File tree Expand file tree Collapse file tree 3 files changed +45
-3
lines changed Expand file tree Collapse file tree 3 files changed +45
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ struct Point<'a> {
197
197
198
198
[discrete]
199
199
=== `add_missing_match_arms`
200
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_match_arms.rs#L13 [add_missing_match_arms.rs]
200
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_match_arms.rs#L14 [add_missing_match_arms.rs]
201
201
202
202
Adds missing clauses to a `match` expression.
203
203
@@ -2292,7 +2292,7 @@ fn main() {
2292
2292
2293
2293
[discrete]
2294
2294
=== `inline_type_alias`
2295
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L105 [inline_type_alias.rs]
2295
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L106 [inline_type_alias.rs]
2296
2296
2297
2297
Replace a type alias with its concrete type.
2298
2298
@@ -2384,7 +2384,7 @@ fn main() -> () {
2384
2384
2385
2385
[discrete]
2386
2386
=== `introduce_named_generic`
2387
- **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/introduce_named_generic.rs#L9 [introduce_named_generic.rs]
2387
+ **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/introduce_named_generic.rs#L10 [introduce_named_generic.rs]
2388
2388
2389
2389
Replaces `impl Trait` function argument with the named generic.
2390
2390
Original file line number Diff line number Diff line change @@ -261,6 +261,13 @@ Aliased as `"checkOnSave.targets"`.
261
261
Whether `--workspace` should be passed to `cargo check` .
262
262
If false, `-p <package>` will be passed instead.
263
263
--
264
+ [[rust-analyzer.completion.addSemicolonToUnit]]rust-analyzer.completion.addSemicolonToUnit (default: `true` )::
265
+ +
266
+ --
267
+ Whether to automatically add a semicolon when completing unit-returning functions.
268
+
269
+ In `match` arms it completes a comma instead.
270
+ --
264
271
[[rust-analyzer.completion.autoimport.enable]]rust-analyzer.completion.autoimport.enable (default: `true` )::
265
272
+
266
273
--
Original file line number Diff line number Diff line change
1
+ = Changelog #251
2
+ :sectanchors:
3
+ :experimental:
4
+ :page-layout: post
5
+
6
+ Commit: commit:94b526fc86eaa0e90fb4d54a5ba6313aa1e9b269[] +
7
+ Release: release:2024-09-16[] (`v0.3.2112` )
8
+
9
+ == New Features
10
+
11
+ * pr:18038[] generate names for tuple struct fields in "Fill match arms".
12
+ * pr:18018[] automatically add semicolon when completing unit-returning function call.
13
+
14
+ == Fixes
15
+
16
+ * pr:18052[] (first contribution) don't output hex when inlining integer constants.
17
+ * pr:18041[] improve name suggestions for variables extracted from function calls.
18
+ * pr:18075[] render patterns when hovering on function parameters.
19
+ * pr:18093[] skip diagnostics when casting to `dyn Trait`.
20
+ * pr:18092[] correctly escape strings in `stringify!`.
21
+ * pr:18101[] fix false positive error when casting literals.
22
+ * pr:18106[] don't report typed hole error in `asm!` `out` operands.
23
+ * pr:18073[] fix "immutable tree" in `generate_delegate_trait`.
24
+ * pr:18119[] fix printing of constants greater than `i128::MAX`.
25
+ * pr:18099[] improve handling of lint attributes.
26
+ * pr:18050[] offer `replace_qualified_name_with_use` on the first segment of a path.
27
+ * pr:18107[] don't emit empty inlay hint parts.
28
+ * pr:18105[] don't panic on invalid LSP notifications from buggy clients.
29
+
30
+ == Internal Improvements
31
+
32
+ * pr:18032[] add preliminary `SyntaxEditor` functionality.
33
+ * pr:18057[] improve testing infra for `rust-analyzer.toml`.
34
+ * pr:18080[] remove crate graph deduplication logic.
35
+ * pr:17904[] add CLI command to report unresolved references.
You can’t perform that action at this time.
0 commit comments