Skip to content

Commit 19ae9d3

Browse files
committed
Changelog #175
1 parent 8919ad0 commit 19ae9d3

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

generated_assists.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ fn main() {
484484

485485
[discrete]
486486
=== `convert_let_else_to_match`
487-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_let_else_to_match.rs#L100[convert_let_else_to_match.rs]
487+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/convert_let_else_to_match.rs#L8[convert_let_else_to_match.rs]
488488

489489
Converts let-else statement to let statement and match expression.
490490

@@ -515,7 +515,7 @@ Converts let statement with match initializer to let-else statement.
515515
.Before
516516
```rust
517517
fn foo(opt: Option<()>) {
518-
let val = match opt {
518+
let val = match opt {
519519
Some(it) => it,
520520
None => return,
521521
};

generated_config.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,11 @@ Elements must be paths pointing to `Cargo.toml`,
639639
--
640640
Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.
641641
--
642+
[[rust-analyzer.lru.query.capacities]]rust-analyzer.lru.query.capacities (default: `{}`)::
643+
+
644+
--
645+
Sets the LRU capacity of the specified queries.
646+
--
642647
[[rust-analyzer.notifications.cargoTomlNotFound]]rust-analyzer.notifications.cargoTomlNotFound (default: `true`)::
643648
+
644649
--
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
= Changelog #175
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:236576227a299fd19ba836b1834ab50c948af994[] +
7+
Release: release:2023-04-03[] (`v0.3.1459`)
8+
9+
== New Features
10+
11+
* pr:14366[] prompting the user to add a `Cargo.toml` of unlinked file to the `linkedProjects`.
12+
13+
== Fixes
14+
15+
* pr:14422[] (first contribution) don't escape double hashes outside of Rust code blocks.
16+
* pr:14444[] (first contribution) pass environment variables to debug runnables.
17+
* pr:14424[] check ancestor blocks for local trait impls.
18+
* pr:14434[] use `struct_tail_without_normalization` in `Expectation::rvalue_hint`.
19+
* pr:14440[] handle box and raw pointers correctly in `builtin_deref`.
20+
* pr:14461[] use async block in async function type inference.
21+
* pr:14435[] add missing autoborrow adjustment for index expressions.
22+
* pr:14426[] fix stack overflow in inhabitedness checking.
23+
* pr:14464[] fix false-positive `needs-mut` on array.
24+
* pr:14449[] recover from `pub()` visibility modifier.
25+
* pr:14468[] don't append ! to derive and attribute macros in "Expand macro recursively".
26+
* pr:14419[] use the right ``CrateId``s for proc macros in `rust-project.json` workspaces.
27+
* pr:14427[] allow subsequent `rust-project.json`-based workspaces to get proc macro expansion.
28+
* pr:14430[] canonicalize `rust-project.json` manifest path.
29+
30+
== Internal Improvements
31+
32+
* pr:14465[] (first contribution) add limited syntax support for return type notations.
33+
* pr:14425[] (first contribution) fix typo in comment.
34+
* pr:14410[] add config to specifiy LRU capacities for all queries.
35+
* pr:14445[] introduce `StructFlags`.
36+
* pr:14448[] don't expose `InferenceTable` outside of `hir-ty`.
37+
* pr:14439[] set durability to high for `enable_proc_attr_macros` input.
38+
* pr:14454[] refine `CrateOrigin` variants.
39+
* pr:14458[] clean up `CrateGraph` construction.

0 commit comments

Comments
 (0)