Skip to content

Commit 22906e8

Browse files
author
Jonas Schievink
committed
Changelog 37
1 parent 6379f4a commit 22906e8

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

generated_assists.adoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,37 @@ fn main() {
270270
```
271271

272272

273+
[discrete]
274+
=== `expand_glob_import`
275+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_assists/src/handlers/expand_glob_import.rs#L15[expand_glob_import.rs]
276+
277+
Expands glob imports.
278+
279+
.Before
280+
```rust
281+
mod foo {
282+
pub struct Bar;
283+
pub struct Baz;
284+
}
285+
286+
use foo::*┃;
287+
288+
fn qux(bar: Bar, baz: Baz) {}
289+
```
290+
291+
.After
292+
```rust
293+
mod foo {
294+
pub struct Bar;
295+
pub struct Baz;
296+
}
297+
298+
use foo::{Baz, Bar};
299+
300+
fn qux(bar: Bar, baz: Baz) {}
301+
```
302+
303+
273304
[discrete]
274305
=== `extract_struct_from_enum_variant`
275306
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_assists/src/handlers/extract_struct_from_enum_variant.rs#L17[extract_struct_from_enum_variant.rs]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
= Changelog #37
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:7a03f05eac4ff1e9ca4ceeced54ce06892bd30b8[] +
6+
Release: release:2020-08-10[]
7+
8+
== Sponsors
9+
10+
**Become a sponsor:** https://opencollective.com/rust-analyzer/[opencollective.com/rust-analyzer]
11+
12+
== New Features
13+
14+
* pr:5648[]: Add expand glob import assist.
15+
* pr:5639[]: **S**tructural **S**earch **R**eplace: Allow `self` in patterns.
16+
* pr:5526[]: Handle semantic token deltas, improving efficiency of syntax highlighting.
17+
* pr:5678[]: Highlight static mut accesses as unsafe.
18+
* pr:5684[]: Semantic highlighting for unsafe union field access.
19+
* pr:5692[]: Add syntax highlighting, hover, and goto def support for `extern crate`.
20+
* pr:5698[]: Display the value of a const on hover.
21+
22+
== Fixes
23+
24+
* pr:5658[]: Do not add to `pub use` in assists that insert a use statement.
25+
* pr:5668[]: Fix relative path handling for custom rustfmt.
26+
* pr:5664[]: Fix renamed self module in imports.
27+
* pr:5679[]: Account for static mut in missing unsafe diagnostic.
28+
* pr:5694[]: Fix `#` lines not getting removed in hover docs.
29+
* pr:5414[]: Fix positioning of test code lens.
30+
* pr:5693[]: Fix no inlay hints / unresolved tokens until manual edit to refresh.
31+
32+
== Internal Improvements
33+
34+
* pr:5494[]: Use salsa's purge to account for all memory.
35+
* pr:5669[]: Document release process.

0 commit comments

Comments
 (0)