Skip to content

Releases: rust-lang/rust-analyzer

2020-06-15

15 Jun 12:52
db6100d
Compare
Choose a tag to compare
Merge #4889

4889: Deprecate hir::Path::from_ast r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <[email protected]>

2020-06-08

08 Jun 12:10
6e4fca5
Compare
Choose a tag to compare
Merge #4773

4773: Run|Debug hover actions. r=matklad a=vsrs

![hover_actions_run](https://user-images.githubusercontent.com/62505555/83335644-dfc1f780-a2b6-11ea-820b-ccaa82290e7d.gif)

This hover actions work exactly like corresponding lenses.

Co-authored-by: vsrs <[email protected]>

2020-06-01

01 Jun 13:49
7ae247f
Compare
Choose a tag to compare
Merge #4675

4675: Small refactor r=kiljacken a=Veetaha



Co-authored-by: veetaha <[email protected]>

2020-05-25

25 May 07:36
1527feb
Compare
Choose a tag to compare
Merge #4601

4601: Introduce `toggle inlay hints` vscode command r=matklad a=Veetaha

Users now can assign a shortcut for this command
via the general vscode
keybindings ui or `keybindings.json` file

<details>
<summary>Demo</summary>

![demo](https://user-images.githubusercontent.com/36276403/82768941-b4fd1c80-9e3a-11ea-9d5b-a40fa1e4dbc6.gif)

</details>

<details>
<summary>Howto assign a shortcut</summary>

![demo2](https://user-images.githubusercontent.com/36276403/82769350-c8a98280-9e3c-11ea-8a95-1266a539826d.gif)


</details>

Closes: #4599

Co-authored-by: veetaha <[email protected]>

2020-05-18

18 May 11:39
9bdedbb
Compare
Choose a tag to compare
Merge #4497

4497: Create LowerCtx on the fly r=matklad a=edwin0cheng

Previously we create `LowerCtx` at the beginning of lowering, however, the hygiene content is in fact changing between macro expression expanding. 

This PR change it to create the `LowerCtx` on the fly to fix above bug.

However, #4465 is not fixed by this PR, the goto-def is still not work yet. It only fixed the infer part. 

Co-authored-by: Edwin Cheng <[email protected]>

2020-05-11

11 May 07:53
eb892d7
Compare
Choose a tag to compare
Merge #4419

4419: :arrow_up: ra_vfs r=matklad a=matklad

Fix a critical bug where \r\n line endings would accidentally sneak in
after in-memory overlay removal.



bors r+
🤖

Co-authored-by: Aleksey Kladov <[email protected]>

2020-05-04

04 May 11:12
57f285d
Compare
Choose a tag to compare
Merge #4283

4283: Support macro for trait items r=matklad a=edwin0cheng

Fixed  #4039

r? @flodiebold 

Co-authored-by: Edwin Cheng <[email protected]>
Co-authored-by: Edwin Cheng <[email protected]>

2020-04-27

27 Apr 11:13
7a9ba16
Compare
Choose a tag to compare
Merge #4158

4158: Clarify rust-analyzer binary  install r=matklad a=zoechi



Co-authored-by: Günter Zöchbauer <[email protected]>

2020-04-20

20 Apr 07:55
90f8378
Compare
Choose a tag to compare
Merge #4047

4047: Some clippy fixes r=matklad a=kjeremy

Mostly removes redundant `clone` and `into`

Co-authored-by: Jeremy Kolb <[email protected]>

2020-04-13

13 Apr 16:19
d075f49
Compare
Choose a tag to compare
Merge #3960

3960: ellipsis in tuple patterns r=JoshMcguigan a=JoshMcguigan

This PR lowers ellipsis in tuple patterns. It fixes a bug in the way ellipsis were previously lowered (by replacing the ellipsis with a single `Pat::Wild` no matter how many items the `..` was taking the place of).

It also uses this new information to properly handle `..` in tuple struct patterns when perform match statement exhaustiveness checks.

While this PR provides the building blocks for match statement exhaustiveness checks for tuples, there are some additional challenges there, so that is still unimplemented (unlike tuple structs).

Co-authored-by: Josh Mcguigan <[email protected]>