File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,33 @@ impl Trait<u32> for () {
116116```
117117
118118
119+ [discrete]
120+ === `add_label_to_loop`
121+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_label_to_loop.rs#L9[add_label_to_loop.rs]
122+
123+ Adds a label to a loop.
124+
125+ .Before
126+ ```rust
127+ fn main() {
128+ loop┃ {
129+ break;
130+ continue;
131+ }
132+ }
133+ ```
134+
135+ .After
136+ ```rust
137+ fn main() {
138+ 'l: loop {
139+ break 'l;
140+ continue 'l;
141+ }
142+ }
143+ ```
144+
145+
119146[discrete]
120147=== `add_lifetime_to_type`
121148**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-assists/src/handlers/add_lifetime_to_type.rs#L5[add_lifetime_to_type.rs]
@@ -1517,7 +1544,7 @@ fn main() {
15171544
15181545[discrete]
15191546=== `inline_type_alias`
1520- **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L24 [inline_type_alias.rs]
1547+ **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_type_alias.rs#L19 [inline_type_alias.rs]
15211548
15221549Replace a type alias with its concrete type.
15231550
Original file line number Diff line number Diff line change @@ -142,4 +142,4 @@ but can also indicate project setup problems.
142142
143143If you are seeing a lot of "proc macro not expanded" warnings, you can add this option to the
144144`rust-analyzer.diagnostics.disabled` list to prevent them from showing. Alternatively you can
145- enable support for procedural macros (see `rust-analyzer.procMacro.enable`).
145+ enable support for procedural macros (see `rust-analyzer.procMacro.attributes. enable`).
Original file line number Diff line number Diff line change 1+ = Changelog #133
2+ :sectanchors:
3+ :page-layout: post
4+
5+ Commit: commit:366bd7242ed00c65f293497a26eb81c7510ac682[] +
6+ Release: release:2022-06-13[]
7+
8+ == New Features
9+
10+ * pr:12481[] introduce `Add label to loop` assist.
11+ * pr:12477[] restart server automatically on configuration changes.
12+ * pr:12492[] add proc macro ABI for rustc 1.63.
13+
14+ == Fixes
15+
16+ * pr:12487[] (first contribution) hide parameter inlay hint when argument is function-like macro with similar name.
17+ * pr:12508[] don't respond to cancelled requests when retrying them, thus fixing `NO_RESULT_CALLBACK_FOUND` errors in NeoVim.
18+ * pr:12455[] fix false-positive type-mismatch error with generic future.
19+ * pr:12515[] pass the build data to `rustc_private` crates.
20+ * pr:12464[] fix `Inline variable` producing a type mismatch.
21+ * pr:12473[] avoid adding enum brackets in use paths.
22+ * pr:12490[] prioritize enums in `use` completions.
23+ * pr:12504[] fix config patching for callable snippets.
24+
25+ == Internal Improvements
26+
27+ * pr:12449[] bring the version number in line with other Rust tools.
28+ * pr:12509[] remove `Generics::type_iter` in favor of `Generics::iter`.
29+ * pr:12513[] simplify `hir_ty::utils`.
30+ * pr:12514[] improve proc-macro errors.
31+ * pr:12502[], pr:12501[] bump dependencies.
You can’t perform that action at this time.
0 commit comments