Skip to content

Commit 3187045

Browse files
committed
Changelog #225
1 parent b92f6f7 commit 3187045

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

generated_diagnostic.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ This diagnostic is triggered if rust-analyzer is unable to discover referred ext
230230

231231

232232
=== unresolved-field
233-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_field.rs#L13[unresolved_field.rs]
233+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_field.rs#L24[unresolved_field.rs]
234234

235235
This diagnostic is triggered if a field does not exist on a given type.
236236

@@ -280,12 +280,12 @@ enable support for procedural macros (see `rust-analyzer.procMacro.attributes.en
280280

281281

282282
=== unused-mut
283-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mutability_errors.rs#L45[mutability_errors.rs]
283+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mutability_errors.rs#L51[mutability_errors.rs]
284284

285285
This diagnostic is triggered when a mutable variable isn't actually mutated.
286286

287287

288288
=== unused-variables
289-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unused_variables.rs#L3[unused_variables.rs]
289+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unused_variables.rs#L11[unused_variables.rs]
290290

291291
This diagnostic is triggered when a local variable is not used.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
= Changelog #225
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:b6d1887bc4f9543b6c6bf098179a62446f34a6c3[] +
7+
Release: release:2024-03-18[] (`v0.3.1885`)
8+
9+
== Announcement
10+
11+
Today's release switches to Ubuntu 20.04 for building the official binaries, bringing the minimum supported GLIBC version to 2.31.
12+
Upgrading was forced by GitHub Actions moving form Node.js 16 to 20.
13+
See pr:16793[] for more information.
14+
15+
Affected distributions include Debian 10, Ubuntu 18.04, Enterprise Linux 7 and 8, and Amazon Linux 2.
16+
For now, the alternatives are building from source, or using the `rust-analyzer` toolchain component.
17+
18+
== New Features
19+
20+
* pr:16789[] apply `#[cfg]` to proc macro inputs.
21+
* pr:16834[] support macro calls in eager macros for IDE features.
22+
* pr:16808[] add proc macro semantic token type.
23+
24+
== Fixes
25+
26+
* pr:16762[] add quick fix for "undersolved field" diagnostic.
27+
* pr:16810[] add fix for "unused variable" diagnostic.
28+
* pr:16856[] fix `where` clause rendering on hover.
29+
* pr:16846[] fix panic and incorrect handling of `use` in `extract_module`.
30+
* pr:16861[] ignore some warnings if they originate from macro expansions.
31+
* pr:16845[] show compilation progress in test explorer.
32+
* pr:16847[] distinguish integration tests from crates in test explorer.
33+
* pr:16820[] don't auto-close block comments in strings.
34+
35+
== Internal Improvements
36+
37+
* pr:16819[] improve rooted upmapping.
38+
* pr:16832[] shrink `MacroCallLoc`.
39+
* pr:16841[] use associated items as anchors for spans.
40+
* pr:16842[] make proc macro definition site spans more resistant to invalidation.
41+
* pr:16844[] replace `Span` with `SyntaxContextId` in `MacroCallLoc`.
42+
* pr:16771[] don't desugar `self` parameter into a pattern.
43+
* pr:16335[] compress file text using LZ4.
44+
* pr:16473[] stop eagerly resolving inlay hint text edits for VS Code.
45+
* pr:16749[], pr:16811[] some method resolution clean-ups.
46+
* pr:16862[] remove redundant ``clone``s
47+
* pr:16784[] remove `synstructure` const hack support.
48+
* pr:16851[] build `linux-gnu` releases on Ubuntu 20.04.

0 commit comments

Comments
 (0)