Skip to content

Commit 278bd90

Browse files
committed
Changelog #146
1 parent d745ccd commit 278bd90

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-9
lines changed

generated_assists.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ struct Point<'a> {
168168

169169
[discrete]
170170
=== `add_missing_match_arms`
171-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_match_arms.rs#L15[add_missing_match_arms.rs]
171+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_missing_match_arms.rs#L16[add_missing_match_arms.rs]
172172

173173
Adds missing clauses to a `match` expression.
174174

@@ -1476,7 +1476,7 @@ impl Person {
14761476

14771477
[discrete]
14781478
=== `inline_call`
1479-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L156[inline_call.rs]
1479+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L159[inline_call.rs]
14801480

14811481
Inlines a function or method body creating a `let` statement per parameter unless the parameter
14821482
can be inlined. The parameter will be inlined either if it the supplied argument is a simple local
@@ -1502,7 +1502,7 @@ fn foo(name: Option<&str>) {
15021502

15031503
[discrete]
15041504
=== `inline_into_callers`
1505-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L24[inline_call.rs]
1505+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L25[inline_call.rs]
15061506

15071507
Inline a function or method body into all of its callers where possible, creating a `let` statement per parameter
15081508
unless the parameter can be inlined. The parameter will be inlined either if it the supplied argument is a simple local
@@ -1568,7 +1568,7 @@ fn main() {
15681568

15691569
[discrete]
15701570
=== `inline_type_alias`
1571-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L91[inline_type_alias.rs]
1571+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L105[inline_type_alias.rs]
15721572

15731573
Replace a type alias with its concrete type.
15741574

@@ -1593,7 +1593,7 @@ fn main() {
15931593

15941594
[discrete]
15951595
=== `inline_type_alias_uses`
1596-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L19[inline_type_alias.rs]
1596+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L24[inline_type_alias.rs]
15971597

15981598
Inline a type alias into all of its uses where possible.
15991599

@@ -1610,7 +1610,7 @@ fn foo() {
16101610

16111611
.After
16121612
```rust
1613-
type A = i32;
1613+
16141614
fn id(x: i32) -> i32 {
16151615
x
16161616
};
@@ -1753,7 +1753,7 @@ fn main() {
17531753

17541754
[discrete]
17551755
=== `merge_imports`
1756-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/merge_imports.rs#L13[merge_imports.rs]
1756+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/merge_imports.rs#L17[merge_imports.rs]
17571757

17581758
Merges two imports with a common prefix.
17591759

@@ -1832,7 +1832,7 @@ fn handle(action: Action) {
18321832

18331833
[discrete]
18341834
=== `move_bounds_to_where_clause`
1835-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/move_bounds.rs#L8[move_bounds.rs]
1835+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/move_bounds.rs#L12[move_bounds.rs]
18361836

18371837
Moves inline type bounds to a where clause.
18381838

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917
339339

340340

341341
=== Inlay Hints
342-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L83[inlay_hints.rs]
342+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L162[inlay_hints.rs]
343343

344344
rust-analyzer shows additional information inline with the source code.
345345
Editors usually render this using read-only virtual text snippets interspersed with code.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
= Changelog #146
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:2e9f1204ca01c3e20898d4a67c8b84899d394a88[] +
6+
Release: release:2022-09-12[]
7+
8+
== New Features
9+
10+
* pr:13200[] (first contribution) add sysroot proc macro server support to `rust-project.json` projects.
11+
* pr:13158[] make clicking a closing brace inlay hint go to the opening brace:
12+
+
13+
video::https://user-images.githubusercontent.com/308347/189642703-3b16578b-f500-4925-b6a2-0ca25b4c119f.mp4[options=loop]
14+
15+
== Fixes
16+
17+
* pr:13192[] sort all bounds on trait object types.
18+
* pr:13185[] insert whitespace when hovering over static and const items.
19+
* pr:13139[] suggest struct record literal when completing enum variant.
20+
* pr:13091[] remove alias definition after `Inline type alias`.
21+
* pr:13207[] complete semicolons after `mod`.
22+
23+
== Internal Improvements
24+
25+
* pr:13214[] (first contribution) switch back to Ubuntu 18.04 when building `x86_64-unknown-linux-gnu` release binaries.

0 commit comments

Comments
 (0)