Skip to content

Releases: rust-lang/rust-analyzer

2022-05-16

16 May 12:37
Compare
Choose a tag to compare
Auto merge of #12242 - flodiebold:extension-description, r=flodiebold

Improve extension description and README

2022-05-09

09 May 05:48
Compare
Choose a tag to compare
Auto merge of #12187 - Veykril:completion-rev, r=Veykril

internal: More completion context refactoring

2022-05-02

02 May 10:17
Compare
Choose a tag to compare
Auto merge of #12133 - lnicola:crate-dashes, r=lnicola

internal: Fix crate names for release

2022-04-25

25 Apr 06:45
Compare
Choose a tag to compare
Auto merge of #12070 - rust-lang:message, r=matklad

minor: clarify error message

Clarify that the server is a whole is OK, and that it's only a single
requests that's dead

2022-04-18

18 Apr 12:30
Compare
Choose a tag to compare
Auto merge of #12017 - lnicola:bump-deps, r=lnicola

minor: Bump deps

2022-04-11

11 Apr 04:33
24cf957
Compare
Choose a tag to compare
Merge #11951

11951: minor: Simplify r=Veykril a=Veykril

bors r+

Co-authored-by: Lukas Wirth <[email protected]>

2022-04-04

04 Apr 05:27
46d7ee6
Compare
Choose a tag to compare
Merge #11865

11865: Fix: Select correct insert position for disabled group import r=jonasbb a=jonasbb

The logic for importing with and without `group_imports` differed
significantly when no previous group existed. This lead to the problem
of using the wrong position when importing inside a module (#11585) or
when inner attributes are involved.
The existing code for grouped imports is better and takes these things
into account.

This PR changes the flow to use the pre-existing code for adding a new
import group even for the non-grouped import settings.
Some coverage markers are updated and the `group` is removed, since they
are now invoked in both cases (grouping and no grouping).

Tests are updated and two tests (empty module and inner attribute) are
added.

Fixes #11585

Co-authored-by: Jonas Bushart <[email protected]>

2022-03-28

28 Mar 05:20
bc08b8e
Compare
Choose a tag to compare
Merge #11833

11833: internal: Move mismatched arg count diagnostic to inference r=flodiebold a=flodiebold

This means we only need to handle legacy const generics in one place, and it fits there especially since there will be more diagnostics coming.

Co-authored-by: Florian Diebold <[email protected]>

2022-03-21

21 Mar 05:47
b594f9c
Compare
Choose a tag to compare
Merge #11690

11690: feat: Add an assist for inlining type aliases r=Veykril a=steven-joruk

I'm working towards implementing #10881, but I'd like to get this in first with earlier feedback.

Is `inline_type_alias` a good enough name? I guess the follow up assist would be called `inline_type_alias_into_all_users` based on that.

![valid_inlines](https://user-images.githubusercontent.com/1277939/158020510-fed78b5c-4c7e-46d1-9151-3044a29b9990.gif)

![invalid_inlines](https://user-images.githubusercontent.com/1277939/158020516-8a2deb6d-c6ec-4adf-a15b-c514fc97dc43.gif)



Co-authored-by: Steven Joruk <[email protected]>

2022-03-14

14 Mar 10:11
5e85158
Compare
Choose a tag to compare
Merge #11696

11696: editors/code: fix nixos detection r=lnicola a=cab404

Problem: NixOS started using quotes around it's id field in /etc/os-release
Solution: Parially parsing os-release, and detecting, whether `nixos` appears anywhere in "ID=" field\
See https://github.com/rust-analyzer/rust-analyzer/issues/11695

Closes #11695

Co-authored-by: Vladimir Serov <[email protected]>