Releases: rust-lang/rust-analyzer
Releases · rust-lang/rust-analyzer
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 <lukastw97@gmail.com>
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 <aleksey.kladov@gmail.com>
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 <lnicola@dend.ro>
2021-10-18
Merge #10569 10569: fix: Skip non clippy completions when completing a clippy path r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-10-11
Merge #10514 10514: internal: clean up code duplication r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-10-04
Merge #10442 10442: fix: Limit depth to 1 when searching for `Cargo.toml` r=matklad a=lnicola ...and add `rust-project.json`. More or less fixes #7268 Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-09-27
Merge #10360 10360: headsup: matklad rewrites blocks grammar again :) r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-09-20
Merge #10293 10293: fix: Don't bail on parse errors in macro input for builtin expansion r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8158 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-09-13
Merge #10215 10215: Use correct file syntax node for decl_access computation in find_all_refs r=Veykril a=Veykril Defs and refs of locals only ever life in one file, this isn't true for fields though. Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10201 bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-09-06
Merge #10161 10161: Don't dump `DefMap`s to build the panic context r=matklad a=matklad internal: remove accidental code re-use FragmentKind played two roles: * entry point to the parser * syntactic category of a macro call These are different use-cases, and warrant different types. For example, macro can't expand to visibility, but we have such fragment today. This PR introduces `ExpandsTo` enum to separate this two use-cases. I suspect we might further split `FragmentKind` into `$x:specifier` enum specific to MBE, and a general parser entry point, but that's for another PR! bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>