Skip to content

Commit 7c86e90

Browse files
committed
Changelog $54
1 parent cd36fc1 commit 7c86e90

File tree

2 files changed

+59
-24
lines changed

2 files changed

+59
-24
lines changed

generated_assists.adoc

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -564,30 +564,6 @@ impl<T: Clone> Ctx<T> {
564564
```
565565

566566

567-
[discrete]
568-
=== `ignore_test`
569-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/ignore_test.rs#L8[ignore_test.rs]
570-
571-
Adds `#[ignore]` attribute to the test.
572-
573-
.Before
574-
```rust
575-
┃#[test]
576-
fn arithmetics {
577-
assert_eq!(2 + 2, 5);
578-
}
579-
```
580-
581-
.After
582-
```rust
583-
#[test]
584-
#[ignore]
585-
fn arithmetics {
586-
assert_eq!(2 + 2, 5);
587-
}
588-
```
589-
590-
591567
[discrete]
592568
=== `infer_function_return_type`
593569
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/infer_function_return_type.rs#L7[infer_function_return_type.rs]
@@ -1172,6 +1148,30 @@ use std::{collections::HashMap};
11721148
```
11731149

11741150

1151+
[discrete]
1152+
=== `toggle_ignore`
1153+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/toggle_ignore.rs#L8[toggle_ignore.rs]
1154+
1155+
Adds `#[ignore]` attribute to the test.
1156+
1157+
.Before
1158+
```rust
1159+
┃#[test]
1160+
fn arithmetics {
1161+
assert_eq!(2 + 2, 5);
1162+
}
1163+
```
1164+
1165+
.After
1166+
```rust
1167+
#[test]
1168+
#[ignore]
1169+
fn arithmetics {
1170+
assert_eq!(2 + 2, 5);
1171+
}
1172+
```
1173+
1174+
11751175
[discrete]
11761176
=== `unwrap_block`
11771177
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/unwrap_block.rs#L11[unwrap_block.rs]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
= Changelog #54
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:a0fa522fdaf25daff6a2a9794214f0e0bedc5c24[] +
6+
Release: release:2020-12-07[]
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:6683[] emit macro diagnostics in bodies.
16+
* pr:6673[] show type of Self on hover.
17+
* pr:6721[] use `METHOD` semantic token type.
18+
* pr:6734[] emit additional diagnostics for hints/help/etc.
19+
20+
== Fixes
21+
22+
* pr:6680[] fix use merging not using the first path segment.
23+
* pr:6688[] place the cursor correctly when using qualified syntax for calling method.
24+
* pr:6689[] trigger `.let` postfix snippet in the middle of the block.
25+
* pr:6649[] accept more than just the standard rust literal suffixes.
26+
* pr:6701[] fixes occasional "progress handler already registered" errors.
27+
* pr:6712[] fix proc macro token mapping.
28+
* pr:6723[] fix a crash in type inference.
29+
* pr:6724[] fix `rust-analyzer diagnostics` CLI command to process modules recursively.
30+
* pr:6725[] handle proc-macro crashes robustly.
31+
32+
== Internal Improvements
33+
34+
* pr:6681[], pr:6700[] refactor builtin macros support.
35+
* pr:6698[] attach macro expansion errors to the right file.

0 commit comments

Comments
 (0)