Tags: achary/rust-analyzer
Tags
Auto merge of rust-lang#14361 - Veykril:if-then-parse, r=Veykril fix: Fix `ast::IfExpr` child accessors Fixes rust-lang#14360
Auto merge of rust-lang#14328 - lnicola:build-scripts-extra-args, r=V… …eykril fix: Pass flycheck extra args when running build scripts Closes rust-lang#14315 Not sure if we want to do it like this or to add an extra config key, though.
Auto merge of rust-lang#14255 - HKalbasi:const-hex, r=HKalbasi Bring back the hex in const hover
Auto merge of rust-lang#14207 - tomokinat:master, r=lnicola Respect $CARGO_HOME when looking up toolchains. Some people set `$CARGO_HOME` to a location other than `~/.cargo` (`$XDG_DATA_DIR/cargo`, in my case), and I'd be a little nicer if the rust-analyzer extension and server respect that value when looking up toolchains, instead of having us configure all of `$CARGO`, `$RUSTC` ... manually. The new implementation still defaults to `~/.cargo` if `$CARGO_HOME` is unset, pretty much like cargo itself does (as documented in https://doc.rust-lang.org/cargo/guide/cargo-home.html), so the change is backwards compatible for most people except those who has configured `$CARGO_HOME` explicitly. I considered using https://crates.io/crates/home as suggested by https://doc.rust-lang.org/cargo/guide/cargo-home.html, but decided to put int on hold because i) we need mirror impl in node, ii) I thought the consistency matters more and iii) the new implementation shouldn't be worse than the current one (i.e. switching to `home` improvement is rather orthogonal and could be done in another PR). If you have any directions on this, please let me know.
Auto merge of rust-lang#14171 - Ethan-000:master, r=matklad fix link Fixes rust-lang#14170
Auto merge of rust-lang#14134 - lnicola:clippy-manual, r=Veykril feat: Add clippy configuration section to the manual and update some old keys Closes rust-lang#14132 I don't think this is supposed to be under `Diagnostics`, but it does make sense in a way 🤷 (it's probably where someone might look).
Auto merge of rust-lang#14043 - lowr:fix/completion-within-str-that-c… …hanged, r=Veykril fix: consider relative offset to fake ident token in expansion for completion Fixes rust-lang#13836 When we check if the offset of fake ident token is out of bounds in the "actual expansion" (i.e. expansion without the fake ident token), we should take relative offset to it into account to match [how we'd get token after expansion](https://github.com/rust-lang/rust-analyzer/blob/f1b257f4eb4fef74b42fd7135d1cf3884e8b51c9/crates/ide-completion/src/context/analysis.rs#L53-L54).
Auto merge of rust-lang#14041 - jonas-schievink:record-lit-signature-… …help, r=Veykril feat: show signature help when typing record literal Closes rust-lang#13910 
Auto merge of rust-lang#14001 - Veykril:lang-item, r=Veykril Replace SmolStr usage with lang item enum for lang items Fixes rust-lang#13395
Auto merge of rust-lang#13956 - nielx:fix/nix-haiku-fix, r=lnicola Update command-group from 1.0.8 to 2.0.1 With rust-lang#13552 the depencency of on the command-group crate was introduced, which also introduced a dependency on nix. That version of nix does not build on Haiku. This change introduces a newer version of command-group, which also updates nix from 0.22.3 to 0.26.1, which is compatible on Haiku.
PreviousNext