Skip to content

Commit a44b2a9

Browse files
committed
Changelog #245
1 parent 0bfaa23 commit a44b2a9

File tree

4 files changed

+35
-30
lines changed

4 files changed

+35
-30
lines changed

generated_config.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,13 +1019,12 @@ Below is an example of a valid configuration:
10191019
"rust-analyzer.workspace.discoverConfig": {
10201020
"command": [
10211021
"rust-project",
1022-
"develop-json",
1023-
{arg}
1022+
"develop-json"
10241023
],
10251024
"progressLabel": "rust-analyzer",
10261025
"filesToWatch": [
1027-
"BUCK",
1028-
],
1026+
"BUCK"
1027+
]
10291028
}
10301029
```
10311030

generated_diagnostic.adoc

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This diagnostic is shown when the derive attribute is used on an item other than
3838

3939

4040
=== macro-def-error
41-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/macro_error.rs#L16[macro_error.rs]
41+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/macro_error.rs#L19[macro_error.rs]
4242

4343
This diagnostic is shown for macro expansion errors.
4444

@@ -176,7 +176,7 @@ Diagnoses redundant trait items in a trait impl.
176176

177177

178178
=== type-mismatch
179-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/type_mismatch.rs#L12[type_mismatch.rs]
179+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/type_mismatch.rs#L16[type_mismatch.rs]
180180

181181
This diagnostic is triggered when the type of an expression or pattern does not match
182182
the expected type.
@@ -267,18 +267,6 @@ This diagnostic is triggered if a method does not exist on a given type.
267267
This diagnostic is triggered if rust-analyzer is unable to discover referred module.
268268

269269

270-
=== unresolved-proc-macro
271-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs#L5[unresolved_proc_macro.rs]
272-
273-
This diagnostic is shown when a procedural macro can not be found. This usually means that
274-
procedural macro support is simply disabled (and hence is only a weak hint instead of an error),
275-
but can also indicate project setup problems.
276-
277-
If you are seeing a lot of "proc macro not expanded" warnings, you can add this option to the
278-
`rust-analyzer.diagnostics.disabled` list to prevent them from showing. Alternatively you can
279-
enable support for procedural macros (see `rust-analyzer.procMacro.attributes.enable`).
280-
281-
282270
=== unused-mut
283271
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mutability_errors.rs#L51[mutability_errors.rs]
284272

generated_features.adoc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -797,18 +797,6 @@ rust-analyzer itself.
797797
image::https://user-images.githubusercontent.com/48062697/113065586-068bdb80-91b1-11eb-9507-fee67f9f45a0.gif[]
798798

799799

800-
=== Shuffle Crate Graph
801-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/shuffle_crate_graph.rs#L8[shuffle_crate_graph.rs]
802-
803-
Randomizes all crate IDs in the crate graph, for debugging.
804-
805-
|===
806-
| Editor | Action Name
807-
808-
| VS Code | **rust-analyzer: Shuffle Crate Graph**
809-
|===
810-
811-
812800
=== Status
813801
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/status.rs#L28[status.rs]
814802

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
= Changelog #245
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:c9109f23de57359df39db6fa36b5ca4c64b671e1[] +
7+
Release: release:2024-08-05[] (`v0.3.2062`)
8+
9+
== New Features
10+
11+
* pr:17707[] use spans for built-in and declarative macro expansion errors.
12+
* pr:17735[] introduce workspace-level `rust-analyzer.toml`.
13+
14+
== Fixes
15+
16+
* pr:17750[] don't require absolute paths in `linkedProjects`.
17+
* pr:17715[] let glob imports override other globs' visibility.
18+
* pr:17747[] fix inference for method calls with elided lifetimes.
19+
* pr:17755[] apply `IndexMut` obligations for non-assigning mutable usages.
20+
* pr:17741[] make `include!` work with raw string literals.
21+
* pr:17763[] insert a tail `Ok(())` in type mismatch quick fix.
22+
* pr:17736[] show `async` in trait method completions.
23+
* pr:17789[] insert a generic args for `impl Trait` during lowering.
24+
* pr:17742[] don't retry inlay hint and code lens requests.
25+
26+
== Internal Improvements
27+
28+
* pr:17705[] (first contribution) use oldest `rustup` rust-analyzer when toolchain override is present.
29+
* pr:17722[] use VS Code logging helpers.
30+
* pr:17770[] remove `TryFrom` implementation for `AbsPathBuf`.

0 commit comments

Comments
 (0)