Skip to content

Commit 2f3e20e

Browse files
committed
Changelog #101
1 parent e5729d8 commit 2f3e20e

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

generated_assists.adoc

+23
Original file line numberDiff line numberDiff line change
@@ -2187,6 +2187,29 @@ fn handle() {
21872187
```
21882188

21892189

2190+
[discrete]
2191+
=== `replace_turbofish_with_explicit_type`
2192+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/replace_turbofish_with_explicit_type.rs#L12[replace_turbofish_with_explicit_type.rs]
2193+
2194+
Converts `::<_>` to an explicit type assignment.
2195+
2196+
.Before
2197+
```rust
2198+
fn make<T>() -> T { ) }
2199+
fn main() {
2200+
let a = make┃::<i32>();
2201+
}
2202+
```
2203+
2204+
.After
2205+
```rust
2206+
fn make<T>() -> T { ) }
2207+
fn main() {
2208+
let a: i32 = make();
2209+
}
2210+
```
2211+
2212+
21902213
[discrete]
21912214
=== `sort_items`
21922215
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/sort_items.rs#L12[sort_items.rs]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
= Changelog #101
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:04f03a360ab8fef3d9c0ff84de2d39b8a196c717[] +
6+
Release: release:2021-11-01[]
7+
8+
== Sponsors
9+
10+
**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or
11+
https://github.com/sponsors/rust-analyzer[GitHub Sponsors].
12+
13+
== New Features
14+
15+
* pr:10629[] add assist to replace turbofish with explicit type:
16+
+
17+
image::https://user-images.githubusercontent.com/308347/139633425-11b38f56-f56e-48bb-9a86-a70c07301062.gif[]
18+
* pr:10657[] make unqualified derive attributes flyimportable:
19+
+
20+
image::https://user-images.githubusercontent.com/3757771/139436613-1e6eb8fd-f591-4fca-9383-ff7408ee9b18.gif[]
21+
* pr:10672[] upgrade Ubuntu builders.
22+
23+
24+
== Fixes
25+
26+
* pr:10656[] enable auto-import and qualify-path in derive attributes.
27+
* pr:10630[] don't for reload when changing `HoverAction` config in VSCode.
28+
* pr:10631[] fix postfix completion panic.
29+
* pr:10633[] implement most `proc_macro` span handling for the other ABIs.
30+
* pr:10635[] fix "Extract variable" not working on macro calls.
31+
* pr:10637[] make `goto_type_definition` multi-token mapping aware.
32+
* pr:10592[] fix rendering of `##` in doc comments.
33+
* pr:10639[] make `goto_declaration` multi-token mapping aware.
34+
* pr:10641[] make `expand_macro` multi-token mapping aware.
35+
* pr:10648[] don't discard attributed items when a proc-macro unexpectedly fails to expand.
36+
* pr:10662[] fix plain-text `textDocument/hover` content type.
37+
* pr:10668[] fix for-loop expressions breaking with `BlockExpr` iterable.
38+
39+
40+
== Internal Improvements
41+
42+
* pr:10649[] remove `CompletionKind` in favor of `CompletionItemKind`.
43+
* pr:10623[] replace `L_DOLLAR`/`R_DOLLAR` with parenthesis hack.
44+
* pr:10654[] refactor `ide` handling for paths in derive inputs.
45+
* pr:10595[] fix links in Code setting descriptions.

0 commit comments

Comments
 (0)