Releases: rust-lang/rust-analyzer
Releases · rust-lang/rust-analyzer
2021-12-27
Merge #11122 11122: Remove note about alpha status from vscode extension descritpion r=lnicola a=aDotInTheVoid See https://github.com/rust-analyzer/rust-analyzer.github.io/pull/156 and https://github.com/rust-analyzer/rust-analyzer/pull/8237 Co-authored-by: Nixon Enraght-Moony <[email protected]>
2021-12-20
Merge #11060 11060: minor: Bump deps r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
2021-12-13
Merge #10995 10995: internal: switch from trait-based TokenSource to simple struct of arrays r=matklad a=matklad cc #10765 The idea here is to try to simplify the interface as best as we can. The original trait-based approach is a bit over-engineered and hard to debug. Here, we replace callback with just data. The next PR in series will replace the output `TreeSink` trait with data as well. The biggest drawback here is that we now require to materialize all parser's input up-front. This is a bad fit for macro by example: when you parse `$e:expr`, you might consume only part of the input. However, today's trait-based solution doesn't really help -- we were already materializing the whole thing! So, let's keep it simple! Co-authored-by: Aleksey Kladov <[email protected]>
2021-12-06
Merge #10944 10944: internal: Prefer resolution of inert attributes r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10942 bors r+ Co-authored-by: Lukas Wirth <[email protected]>
2021-11-29
Merge #10876 10876: fix: Show parameter hints unconditionally for logical not expressions r=Veykril a=Veykril Closes https://github.com/rust-analyzer/rust-analyzer/issues/8491 bors r+ Co-authored-by: Lukas Wirth <[email protected]>
2021-11-22
Merge #10823 10823: fix: better `Fn` traits formatting r=jonas-schievink a=veber-alex This makes it so formatting `Fn` traits properly handles: 1. An `Fn` trait with only a single argument -> removes the trailing comma. 2. An `Fn` trait which returns nothing (an empty tuple) -> don't show `-> ()` as the return type. before:  after:  Co-authored-by: Alex Veber <[email protected]>
2021-11-15
Merge #10767 10767: minor: Rename intern_macro -> intern_macro_call r=Veykril a=Veykril We potentially want to intern macro definitions so the names would probably collide bors r+ Co-authored-by: Lukas Wirth <[email protected]>
2021-11-08
Merge #10699 10699: internal: Make CompletionItem `label` and `lookup` fields `SmolStr`s r=Veykril a=Veykril This replaces a bunch of String clones with SmolStr clones, though also makes a few parts a bit more expensive(mainly things involving `format!`ted strings as labels). Co-authored-by: Lukas Wirth <[email protected]>
2021-11-01
Merge #10672 10672: feat: upgrade ubuntu builders r=matklad a=matklad For `-gnu` triples, use 20.04, the current LTS. This upgrades the required version of glibc. For musl, just use `latest` as, presumably, we don't care about glibc version in that case. Hopefully, this unbreaks nightly publishing! bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2021-10-25
Merge #10624 10624: minor: revert edition change in test r=lnicola a=lnicola Fixes https://github.com/rust-analyzer/rust-analyzer/pull/10607#discussion_r734963606 Co-authored-by: Laurențiu Nicola <[email protected]>