Skip to content

Commit a071e18

Browse files
committed
Changelog #124
1 parent a24e253 commit a071e18

4 files changed

Lines changed: 48 additions & 3 deletions

File tree

generated_assists.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ fn ┃fun_name(n: i32) {
616616

617617
[discrete]
618618
=== `extract_module`
619-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/extract_module.rs#L27[extract_module.rs]
619+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/extract_module.rs#L30[extract_module.rs]
620620

621621
Extracts a selected region as seperate module. All the references, visibility and imports are
622622
resolved.

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ image::https://user-images.githubusercontent.com/48062697/113020673-b85be580-917
6868

6969

7070
=== Completion With Autoimport
71-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_completion/src/completions/flyimport.rs#L17[flyimport.rs]
71+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_completion/src/completions/flyimport.rs#L18[flyimport.rs]
7272

7373
When completing names in the current scope, proposes additional imports from other modules or crates,
7474
if they can be qualified in the scope, and their name contains all symbols from the completion input.

manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Emacs support is maintained as part of the https://github.com/emacs-lsp/lsp-mode
239239
Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
240240
Not needed if the extension can install/update it on its own, coc-rust-analyzer is one example.
241241

242-
The are several LSP client implementations for vim or neovim:
242+
There are several LSP client implementations for vim or neovim:
243243

244244
==== coc-rust-analyzer
245245

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
= Changelog #124
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:24cf957627d5ede1b395f92ff871fd7a281d49a4[] +
6+
Release: release:2022-04-11[]
7+
8+
== Sponsors
9+
10+
**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or
11+
https://github.com/sponsors/rust-analyzer[GitHub Sponsors].
12+
13+
== New Features
14+
15+
* pr:11938[] improve associated item completion in trait impls:
16+
+
17+
image::https://user-images.githubusercontent.com/1786438/162481277-2a0d2f21-dc20-4452-804d-6370766216b6.png[]
18+
19+
== Fixes
20+
21+
* pr:11894[] (first contribution) complete pattern args based on type name
22+
* pr:11891[] show error message when flycheck fails.
23+
* pr:11915[] attempt to heuristically resolve paths in const arguments in IDE layer.
24+
* pr:11953[] make `extract_module` more lazy.
25+
* pr:11896[] show path to be created in the `unresolved-module` fix label.
26+
* pr:11899[] skip match check on patterns of unexpected `TyKind::FnDef`.
27+
* pr:11911[] use correct text ranges in `SearchScope` for macro-emitted inline modules.
28+
* pr:11914[] fix path qualifiers not resolving generic type params when shadowed by trait.
29+
* pr:11926[] fix panics with `#[cfg]`'d-out `self` parameter.
30+
* pr:11920[] fix spurious type mismatch error for const generics with value parameters.
31+
* pr:11931[] flyimport: omit types when completing where-clause
32+
* pr:11936[] ignore `Drop` and `Destruct` bounds for now.
33+
* pr:11942[] check whether a parameter can be converted to a local.
34+
* pr:11943[] don't create ``hir::Local``s from const path patterns.
35+
* pr:11954[] parse `for<'a>` closure syntax.
36+
37+
== Internal Improvements
38+
39+
* pr:11904[] wrap macros in expr position in `MacroExpr` node.
40+
* pr:11905[] remove hir_expand macro recursion check.
41+
* pr:11916[] add more doc-link tests.
42+
* pr:11924[] remove `FnFlags::IS_IN_EXTERN_BLOCK`.
43+
* pr:11927[] use bitflags for `FnFlags`.
44+
* pr:11925[] add and start using `HirFormatter::write_{str,char}`.
45+
* pr:11930[] move function unsafety determination out of the `ItemTree`.

0 commit comments

Comments
 (0)