Skip to content

Commit e52c44e

Browse files
committed
Changelog #265
1 parent 078bb75 commit e52c44e

File tree

4 files changed

+50
-8
lines changed

4 files changed

+50
-8
lines changed

generated_assists.adoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ fn main() {
962962

963963
[discrete]
964964
=== `destructure_tuple_binding`
965-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/destructure_tuple_binding.rs#L18[destructure_tuple_binding.rs]
965+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/destructure_tuple_binding.rs#L20[destructure_tuple_binding.rs]
966966

967967
Destructures a tuple binding in place.
968968

@@ -1085,7 +1085,7 @@ enum TheEnum {
10851085

10861086
[discrete]
10871087
=== `extract_constant`
1088-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L31[extract_variable.rs]
1088+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L34[extract_variable.rs]
10891089

10901090
Extracts subexpression into a constant.
10911091

@@ -1193,7 +1193,7 @@ fn bar(name: i32) -> i32 {
11931193

11941194
[discrete]
11951195
=== `extract_static`
1196-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L48[extract_variable.rs]
1196+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L51[extract_variable.rs]
11971197

11981198
Extracts subexpression into a static.
11991199

@@ -1257,7 +1257,7 @@ struct S {
12571257

12581258
[discrete]
12591259
=== `extract_variable`
1260-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L14[extract_variable.rs]
1260+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/extract_variable.rs#L17[extract_variable.rs]
12611261

12621262
Extracts subexpression into a variable.
12631263

@@ -3792,14 +3792,14 @@ use std::fmt::Display;
37923792

37933793
[discrete]
37943794
=== `unnecessary_async`
3795-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/unnecessary_async.rs#L15[unnecessary_async.rs]
3795+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/unnecessary_async.rs#L17[unnecessary_async.rs]
37963796

37973797
Removes the `async` mark from functions which have no `.await` in their body.
37983798
Looks for calls to the functions and removes the `.await` on the call site.
37993799

38003800
.Before
38013801
```rust
3802-
pub async f┃n foo() {}
3802+
pub asy┃nc fn foo() {}
38033803
pub async fn bar() { foo().await }
38043804
```
38053805

generated_config.adoc

+2-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ Aliased as `"checkOnSave.targets"`.
270270
+
271271
--
272272
Whether `--workspace` should be passed to `cargo check`.
273-
If false, `-p <package>` will be passed instead.
273+
If false, `-p <package>` will be passed instead if applicable. In case it is not, no
274+
check will be performed.
274275
--
275276
[[rust-analyzer.completion.addSemicolonToUnit]]rust-analyzer.completion.addSemicolonToUnit (default: `true`)::
276277
+

generated_features.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
606606

607607

608608
=== Related Tests
609-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L213[runnables.rs]
609+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L200[runnables.rs]
610610

611611
Provides a sneak peek of all tests where the current item is used.
612612

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
= Changelog #265
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:fa4a40bbe867ed54f5a7c905b591fd7d60ba35eb[] +
7+
Release: release:2024-12-23[] (`v0.3.2228`)
8+
9+
== New Features
10+
11+
* pr:18696[] report unresolved idents for implicit captures in `format_args!()`.
12+
13+
== Fixes
14+
15+
* pr:18723[] fix a case where completion was unable to expand a `tracing` macro.
16+
* pr:18699[] fix path-qualified auto-importing completions not working with re-exports.
17+
* pr:18729[] clear flycheck diagnostics more granularly.
18+
* pr:18741[] delay initial flycheck until after build scripts.
19+
* pr:18726[] reduce applicability of the `unnecessary_async` assist.
20+
* pr:18695[] improve name suggestion for `destructure_tuple_binding`.
21+
* pr:18690[] use string literal contents as a name when extracting into variable.
22+
* pr:18700[] fix `unresolved_field` when a keyword is used as a field.
23+
* pr:18708[] fix pretty-printing of `@` patterns.
24+
* pr:18714[] do not ask the client to resolve for non-existent label details.
25+
* pr:18716[] consider both completion detail fields in `to_proto`.
26+
* pr:18727[] fix "tried adding a runnable pointing to a different file" panic.
27+
* pr:18739[] don't trigger parenthesis wrapping typing handler after identifiers.
28+
* pr:18740[] fix empty check diagnostics not marking files as changed.
29+
* pr:18738[], pr:18742[] properly test if workspace flychecking is allowed.
30+
* pr:18711[] don't mark `&raw` of deref as unsafe.
31+
32+
== Internal Improvements
33+
34+
* pr:18715[] (first contribution) fix `AsmOption` rule in `rust.ungram`.
35+
* pr:18731[] revert "drop proc macro server support for 1.66 and older toolchains".
36+
* pr:18698[] don't serialize empty fields in completion and resolve payloads.
37+
* pr:18713[] cleanup label structure of `CompletionItem`.
38+
* pr:18717[], pr:18735[] set `result_id` for pull diagnostics.
39+
* pr:18697[] simplify `ratoml` test directory handling.
40+
* pr:18728[] use `serde_derive` intead of `derive` feature.
41+
* pr:18710[] remove `salsa` from proc macro server dependency tree.

0 commit comments

Comments
 (0)