Skip to content

Commit a0d2a05

Browse files
committed
Changelog #163
1 parent 0f66c05 commit a0d2a05

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

generated_config.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,11 @@ to always show them).
454454
--
455455
Whether to show inlay type hints for return types of closures.
456456
--
457+
[[rust-analyzer.inlayHints.discriminantHints.enable]]rust-analyzer.inlayHints.discriminantHints.enable (default: `"never"`)::
458+
+
459+
--
460+
Whether to show enum variant discriminant hints.
461+
--
457462
[[rust-analyzer.inlayHints.expressionAdjustmentHints.enable]]rust-analyzer.inlayHints.expressionAdjustmentHints.enable (default: `"never"`)::
458463
+
459464
--

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917
340340

341341

342342
=== Inlay Hints
343-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L277[inlay_hints.rs]
343+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L287[inlay_hints.rs]
344344

345345
rust-analyzer shows additional information inline with the source code.
346346
Editors usually render this using read-only virtual text snippets interspersed with code.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
= Changelog #163
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:f77b68a3cb0b4a8f611322934c4c4d9335167560[] +
7+
Release: release:2023-01-09[]
8+
9+
== New Features
10+
11+
* pr:13832[] add enum variant discriminants hints:
12+
+
13+
image::https://user-images.githubusercontent.com/3757771/209320042-eced617a-9a47-4808-ac23-916f469dc90c.png["Screenshot showing the discriminant values on an enum"]
14+
* pr:13876[] package Windows release artifacts as ZIP and add symbols file.
15+
16+
== Fixes
17+
18+
* pr:13894[] apply fallback before final obligation resolution.
19+
* pr:13854[] support multi-character punct tokens in MBE.
20+
* pr:13877[] prefix prelude items whose name collides in current scope.
21+
* pr:13887[] only set machine-applicable rustc diagnostics as preferred.
22+
* pr:13882[] remember adjustments introduced by binary operators.
23+
* pr:13853[] use diagnostic code as link to full message.
24+
* pr:13886[] add a ZWNJ to prevent VS Code from forming ligatures between hints and code.
25+
* pr:13885[] skip lifetime elision hints on fn pointers and fn trait types.
26+
* pr:13893[] complete record enum variants without parens when snippets are disabled.
27+
28+
== Internal Improvements
29+
30+
* pr:13860[] fix a bunch of clippy lints.

0 commit comments

Comments
 (0)