Skip to content

Commit 945467f

Browse files
committed
Changelog #246
1 parent a44b2a9 commit 945467f

File tree

5 files changed

+50
-11
lines changed

5 files changed

+50
-11
lines changed

generated_config.adoc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,6 @@ Unsetting this disables sysroot loading.
144144

145145
This option does not take effect until rust-analyzer is restarted.
146146
--
147-
[[rust-analyzer.cargo.sysrootQueryMetadata]]rust-analyzer.cargo.sysrootQueryMetadata (default: `false`)::
148-
+
149-
--
150-
Whether to run cargo metadata on the sysroot library allowing rust-analyzer to analyze
151-
third-party dependencies of the standard libraries.
152-
153-
This will cause `cargo` to create a lockfile in your sysroot directory. rust-analyzer
154-
will attempt to clean up afterwards, but nevertheless requires the location to be
155-
writable to.
156-
--
157147
[[rust-analyzer.cargo.sysrootSrc]]rust-analyzer.cargo.sysrootSrc (default: `null`)::
158148
+
159149
--

generated_diagnostic.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
//! Generated by `cargo codegen diagnostics-docs`, do not edit by hand.
22

3+
=== await-outside-of-async
4+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/await_outside_of_async.rs#L3[await_outside_of_async.rs]
5+
6+
This diagnostic is triggered if the `await` keyword is used outside of an async function or block
7+
8+
39
=== break-outside-of-loop
410
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs#L3[break_outside_of_loop.rs]
511

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917
411411

412412

413413
=== Magic Completions
414-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L43[lib.rs]
414+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/lib.rs#L42[lib.rs]
415415

416416
In addition to usual reference completion, rust-analyzer provides some ✨magic✨
417417
completions as well:

manual.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,12 @@ The `rust-analyzer` binary can be installed via https://brew.sh/[Homebrew].
203203
$ brew install rust-analyzer
204204
----
205205

206+
==== Windows
207+
208+
It is recommended to install the latest Microsoft Visual C++ Redistributable prior to installation.
209+
Download links can be found
210+
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist[here].
211+
206212
=== VS Code or VSCodium in Flatpak
207213

208214
Setting up `rust-analyzer` with a Flatpak version of Code is not trivial because of the Flatpak sandbox.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
= Changelog #246
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:0daeb5c0b05cfdf2101b0f078c27539099bf38e6[] +
7+
Release: release:2024-08-12[] (`v0.3.2070`)
8+
9+
== New Features
10+
11+
* pr:17791[] add diagnostic for `await` outside of `async`.
12+
* pr:17795[] load sysroot library via `cargo metadata` (for toolchains after `176e54520 2024-08-04`).
13+
* pr:17775[], pr:17824[] segregate syntax and semantic diagnostics to improve latency.
14+
* pr:17771[] load VFS config changes in parallel.
15+
16+
== Fixes
17+
18+
* pr:17802[] supress type mismatches in calls with mismatched argument counts.
19+
* pr:17823[] attach unconfigured diagnostics to the right file for modules.
20+
* pr:17784[] support inlay hints for more expressions with labels.
21+
* pr:17844[] respect non-`std` preference in `find_path`.
22+
* pr:17805[] fix panic in `path_transform` with default type parameters.
23+
* pr:17813[] fix type equality check for non-ADT types in usage search.
24+
* pr:17832[] fix panic while rendering function type hint with `impl Trait` parameters.
25+
* pr:17818[] support `.rust-project.json` in addition to `rust-project.json`.
26+
27+
== Internal Improvements
28+
29+
* pr:17825[] offload diagnostics serialization to the task pool.
30+
* pr:17794[] turn `ErasedFileAstId` into a newtype.
31+
* pr:17821[] remove unnecessary `CfgFlag` definition in `project-model`.
32+
* pr:17809[] include vendored crates in `StaticIndex`.
33+
* pr:17831[] merge `flycheck` into the main `rust-analyzer` crate.
34+
* pr:17799[] split out `syntax-bridge` into a separate crate.
35+
* pr:17772[] reorganize `debug.ts`.
36+
* pr:17745[], pr:17827[] add missing repository and description fields to the crate manifests.
37+
* pr:17793[] suggest installing the MSVC Redistributable in the manual.

0 commit comments

Comments
 (0)