Skip to content

Commit 0cfa59c

Browse files
committed
Changelog #184
1 parent 2ceb614 commit 0cfa59c

4 files changed

+29
-4
lines changed

generated_assists.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2729,7 +2729,7 @@ fn handle(action: Action) {
27292729

27302730
[discrete]
27312731
=== `replace_named_generic_with_impl`
2732-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/replace_named_generic_with_impl.rs#L15[replace_named_generic_with_impl.rs]
2732+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/replace_named_generic_with_impl.rs#L19[replace_named_generic_with_impl.rs]
27332733

27342734
Replaces named generic with an `impl Trait` in function argument.
27352735

generated_config.adoc

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ cargo check --quiet --workspace --message-format=json --all-targets
7171
Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to
7272
avoid checking unnecessary things.
7373
--
74+
[[rust-analyzer.cargo.cfgs]]rust-analyzer.cargo.cfgs (default: `{}`)::
75+
+
76+
--
77+
List of cfg options to enable with the given values.
78+
--
7479
[[rust-analyzer.cargo.extraArgs]]rust-analyzer.cargo.extraArgs (default: `[]`)::
7580
+
7681
--
@@ -120,7 +125,7 @@ Compilation target override (target triple).
120125
[[rust-analyzer.cargo.unsetTest]]rust-analyzer.cargo.unsetTest (default: `["core"]`)::
121126
+
122127
--
123-
Unsets `#[cfg(test)]` for the specified crates.
128+
Unsets the implicit `#[cfg(test)]` for the specified crates.
124129
--
125130
[[rust-analyzer.checkOnSave]]rust-analyzer.checkOnSave (default: `true`)::
126131
+
@@ -423,11 +428,31 @@ Whether to show keyword hover popups. Only applies when
423428
--
424429
Use markdown syntax for links on hover.
425430
--
431+
[[rust-analyzer.hover.memoryLayout.alignment]]rust-analyzer.hover.memoryLayout.alignment (default: `"hexadecimal"`)::
432+
+
433+
--
434+
How to render the align information in a memory layout hover.
435+
--
426436
[[rust-analyzer.hover.memoryLayout.enable]]rust-analyzer.hover.memoryLayout.enable (default: `true`)::
427437
+
428438
--
429439
Whether to show memory layout data on hover.
430440
--
441+
[[rust-analyzer.hover.memoryLayout.niches]]rust-analyzer.hover.memoryLayout.niches (default: `false`)::
442+
+
443+
--
444+
How to render the niche information in a memory layout hover.
445+
--
446+
[[rust-analyzer.hover.memoryLayout.offset]]rust-analyzer.hover.memoryLayout.offset (default: `"hexadecimal"`)::
447+
+
448+
--
449+
How to render the offset information in a memory layout hover.
450+
--
451+
[[rust-analyzer.hover.memoryLayout.size]]rust-analyzer.hover.memoryLayout.size (default: `"both"`)::
452+
+
453+
--
454+
How to render the size information in a memory layout hover.
455+
--
431456
[[rust-analyzer.imports.granularity.enforce]]rust-analyzer.imports.granularity.enforce (default: `false`)::
432457
+
433458
--

generated_diagnostic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,6 @@ enable support for procedural macros (see `rust-analyzer.procMacro.attributes.en
217217

218218

219219
=== unused-mut
220-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mutability_errors.rs#L42[mutability_errors.rs]
220+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mutability_errors.rs#L43[mutability_errors.rs]
221221

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

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Note: `?`, `|` and `->` do not currently trigger this behavior in the VSCode edi
334334

335335

336336
=== Hover
337-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L82[hover.rs]
337+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L97[hover.rs]
338338

339339
Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
340340
Focusing is usually hovering with a mouse, but can also be triggered with a shortcut.

0 commit comments

Comments
 (0)