Skip to content

Commit 4890ada

Browse files
committed
Changelog #156
1 parent e8c34d6 commit 4890ada

File tree

4 files changed

+42
-5
lines changed

4 files changed

+42
-5
lines changed

generated_config.adoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,15 @@ cargo check --workspace --message-format=json --all-targets
190190
```
191191
.
192192
--
193-
[[rust-analyzer.checkOnSave.target]]rust-analyzer.checkOnSave.target (default: `null`)::
193+
[[rust-analyzer.checkOnSave.target]]rust-analyzer.checkOnSave.target (default: `[]`)::
194194
+
195195
--
196-
Check for a specific target. Defaults to
197-
`#rust-analyzer.cargo.target#`.
196+
Check for specific targets. Defaults to `#rust-analyzer.cargo.target#` if empty.
197+
198+
Can be a single target, e.g. `"x86_64-unknown-linux-gnu"` or a list of targets, e.g.
199+
`["aarch64-apple-darwin", "x86_64-apple-darwin"]`.
200+
201+
Aliased as `"checkOnSave.targets"`.
198202
--
199203
[[rust-analyzer.completion.autoimport.enable]]rust-analyzer.completion.autoimport.enable (default: `true`)::
200204
+

generated_diagnostic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ This diagnostic is triggered if rust-analyzer is unable to discover referred mod
134134

135135

136136
=== unresolved-proc-macro
137-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs#L6[unresolved_proc_macro.rs]
137+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs#L5[unresolved_proc_macro.rs]
138138

139139
This diagnostic is shown when a procedural macro can not be found. This usually means that
140140
procedural macro support is simply disabled (and hence is only a weak hint instead of an error),

manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ if executable('rust-analyzer')
367367
endif
368368
----
369369

370-
There is no dedicated UI for the server configuration, so you would need to send any options as a value of the `initialization_options` field, as described in the <<_configuration,Configuration>> section.
370+
There is no dedicated UI for the server configuration, so you would need to send any options as a value of the `initialization_options` field, as described in the <<configuration,Configuration>> section.
371371
Here is an example of how to enable the proc-macro support:
372372

373373
[source,vim]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
= Changelog #156
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:26562973b3482a635416b2b663a13016d4d90e20[] +
6+
Release: release:2022-11-21[]
7+
8+
== New Features
9+
10+
* pr:13290[] (first contribution) support multiple targets for `checkOnSave` (with cargo 1.64+):
11+
+
12+
image::https://user-images.githubusercontent.com/7951708/192122707-7a00606a-e581-4534-b9d5-b81c92694e8e.png["Screenshot showing an editor highlighting two warnings in code gated for different targets on one side and the `cargo check` output on the other side, with the same warnings. It also shows how to configure multiple targets as a `build.target` array in `.cargo/config.toml`."]
13+
* pr:13633[] allow viewing the full compiler diagnostic in a readonly textview:
14+
+
15+
image::https://user-images.githubusercontent.com/3757771/202780459-f751f65d-2b1b-4dc3-9685-100d65ebf6a0.gif["Screen case showing a compilation error in VS Code. The diagnostics pop-up has a `Click here for full compiler diagnostic` link which, when clicked, displays the `rustc` output in another tab, including the ASCII art showing the various spans of the error."]
16+
* pr:13629[] make "Remove ``dbg!()``" work on selections.
17+
18+
== Fixes
19+
20+
* pr:13642[] don't emit associated consts with a value in "Implement missing members".
21+
* pr:13622[] include generic parameters in GAT completions.
22+
* pr:13623[] strip comments and attributes off all trait item completions.
23+
* pr:13624[] resolve inference variable before applying adjustments.
24+
* pr:13639[] fix `proc-macro-srv` search paths for Arch Linux.
25+
* pr:13641[] fix some format expression parsing edge-cases.
26+
27+
== Internal Improvements
28+
29+
* pr:13615[] (first contribution) bump some crates to bring support for the new Tier 3 Windows targets.
30+
* pr:13653[] (first contribution) fix typo in anchor.
31+
* pr:13649[] (first contribution) improve grammar of `architecture.md`.
32+
* pr:13625[] update `proc-macro-srv` tests.
33+
* pr:13632[] make it more obvious which SCIP features are not yet emitted.

0 commit comments

Comments
 (0)