Skip to content

Commit c441e22

Browse files
committed
Changelog #252
1 parent 2e57b47 commit c441e22

File tree

3 files changed

+38
-4
lines changed

3 files changed

+38
-4
lines changed

generated_assists.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,7 @@ impl<T: Clone> ${0:_} for Ctx<T> {}
21382138

21392139
[discrete]
21402140
=== `inline_call`
2141-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L165[inline_call.rs]
2141+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L170[inline_call.rs]
21422142

21432143
Inlines a function or method body creating a `let` statement per parameter unless the parameter
21442144
can be inlined. The parameter will be inlined either if it the supplied argument is a simple local
@@ -2189,7 +2189,7 @@ fn something() -> &'static str {
21892189

21902190
[discrete]
21912191
=== `inline_into_callers`
2192-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L28[inline_call.rs]
2192+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_call.rs#L32[inline_call.rs]
21932193

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

22562256
[discrete]
22572257
=== `inline_macro`
2258-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_macro.rs#L6[inline_macro.rs]
2258+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/inline_macro.rs#L7[inline_macro.rs]
22592259

22602260
Takes a macro and inlines it one step.
22612261

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Displays the ItemTree of the currently open file, for debugging.
176176

177177

178178
=== Expand Macro Recursively
179-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L16[expand_macro.rs]
179+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L17[expand_macro.rs]
180180

181181
Shows the full macro expansion of the macro at the current caret position.
182182

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
= Changelog #252
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:1301e4268f44e404f0a5847ed72a0b4879e253d3[] +
7+
Release: release:2024-09-23[] (`v0.3.2121`)
8+
9+
== Note
10+
11+
Because of infrastructure issues, this release is not available on GitHub Releases.
12+
13+
== New Features
14+
15+
* pr:18135[] add diagnostics for `unsafe_op_in_unsafe_fn`.
16+
* pr:18131[] replace `$crate` in user-visible macro expansions.
17+
* pr:18151[] support `${concat(...)}` metavariable expressions.
18+
* pr:18137[] support `expr_2021` fragment specifiers.
19+
20+
== Fixes
21+
22+
* pr:18136[] (first contribution) don't lint names of `#[no_mangle]` extern functions.
23+
* pr:18128[] don't show lints and quick fixes in code generated by external macros.
24+
* pr:18117[] always cache macro expansion root nodes in `Semantics`.
25+
* pr:18139[] extend `type_variable_table` when index is larger than the table size.
26+
* pr:18146[] remove check that text of `parse_expr_from_str()` matches the produced parsed tree.
27+
* pr:18153[] account for rawness in `$expr` fragments.
28+
* pr:18108[] take `#[cfg_attr]` into account for lint attributes.
29+
* pr:18132[] don't complete `;` in closure return expressions.
30+
31+
== Internal Improvements
32+
33+
* pr:18134[] extend `SourceChangeBuilder` to make make working with `SyntaxEditor` easier.
34+
* pr:18169[] temporarily disable GitHub releases.

0 commit comments

Comments
 (0)