Skip to content

Commit 8a2d39a

Browse files
committed
Changelog #173
1 parent 5e5f7f1 commit 8a2d39a

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

generated_diagnostic.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ This diagnostic is triggered if a call is made on something that is not callable
1818
This diagnostic is shown for code with inactive `#[cfg]` attributes.
1919

2020

21+
=== incoherent-impl
22+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/incoherent_impl.rs#L5[incoherent_impl.rs]
23+
24+
This diagnostic is triggered if the targe type of an impl is from a foreign crate.
25+
26+
2127
=== incorrect-ident-case
2228
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/incorrect_case.rs#L13[incorrect_case.rs]
2329

@@ -70,7 +76,7 @@ This diagnostic is triggered if `match` block is missing one or more match arms.
7076

7177

7278
=== missing-unsafe
73-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_unsafe.rs#L3[missing_unsafe.rs]
79+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_unsafe.rs#L9[missing_unsafe.rs]
7480

7581
This diagnostic is triggered if an operation marked as `unsafe` is used outside of an `unsafe` function or block.
7682

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
= Changelog #173
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:825833c26938d25a95f4c77f0e7011cffc34e15c[] +
7+
Release: release:2023-03-20[] (`v0.3.1443`)
8+
9+
== New Features
10+
11+
* pr:14281[] add quick fix for inserting an `unsafe` block:
12+
+
13+
video::https://user-images.githubusercontent.com/308347/226258052-07f7c722-bdc2-49bb-b0af-dac7877c761f.mp4[options=loop]
14+
* pr:13789[] prioritize missing variants in match pattern completions:
15+
+
16+
image::https://user-images.githubusercontent.com/49019259/225702513-aefa453d-e0db-4401-bdf8-60da5070c182.png["Screenshot showing existing enum variants being de-prioritized in a match"]
17+
* pr:14354[] add signature help for record and tuple struct patterns:
18+
+
19+
image::https://user-images.githubusercontent.com/308347/226259723-e7ccf514-93e5-4d5c-90a2-ee067a4a0914.png["Screenshot showing the doc comments and fields of a struct in a pattern"]
20+
* pr:13994[] lint incoherent inherent impls:
21+
+
22+
image::https://user-images.githubusercontent.com/308347/226260981-d41f0c7a-2f06-42b4-b32b-a774bb0e6bdc.png["Screenshot showing an error on `impl Vec<i32> {}`"]
23+
24+
== Fixes
25+
26+
* pr:12958[] fix return type of async closures.
27+
* pr:14337[] allow the status bar item to be clicked again.
28+
* pr:14347[] add `StorageDead` for `let` bindings without initializer (fixes false positive `needs-mut` in loops).
29+
* pr:14348[] fix rustc proc-macro handling in the rustc workspace.
30+
* pr:14349[] respect parent blocks in visibility resolution.
31+
* pr:14338[] only skip reborrow adjustment hints for block, `if` and `match` expressions.
32+
* pr:14353[] don't replace `SyntaxToken` with `SyntaxNode` in "Inline call".
33+
* pr:14355[] don't emit unnecessary reference completions.
34+
* pr:14357[] don't pass feature flags to rustc private crates metadata invocation.
35+
* pr:14359[] don't retry inlay hint requests.
36+
* pr:14361[] fix `ast::IfExpr` child accessors.
37+
38+
== Internal Improvements
39+
40+
* pr:14307[] add Cargo-style project discovery for Buck and Bazel users.
41+
* pr:14362[] prioritize "Remove ``dbg!``" assist over "Inline macro".
42+
* pr:14358[] report sysroot and rustc crate loading errors.
43+
* pr:14334[], pr:14336[] add `is_float`, `is_char` and `as_slice` to `hir::Type`.
44+
* pr:14378[] bump `chalk` to fix a GAT bug.
45+
* pr:14342[] add path of workspace root folders to status output.
46+
* pr:14340[] rename `AstDatabase` to `ExpandDatabase`.

0 commit comments

Comments
 (0)