|
| 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