Uh oh!
There was an error while loading. Please reload this page.
Subtree update of rust-analyzer - #129054
Conversation
Selects a rust-toolchain declared RA based on its date. The earliest (oldest) RA wins and becomes the one that the workspace uses as a whole. In terms of precedence: nightly > stable-with-version > stable With stable-with-version, we invoke the RA with a `--version` arg and attempt to extract a date. Given the same date as a nightly, the nightly RA will win.
fix: Insert a tail `Ok(())` for expr block instead of wrapping with `Ok` Fixesrust-lang#17728 When type mismatch is `Result<(), E>, ()` or `Option<()>, ()` and target expr is a block expression, it is more reasonable to insert a wrapped unit - `Ok(())` or `Some(())` - as the tail expression of that block than wrapping the entire block with `Ok` or `Some`
feat: Use oldest rustup rust-analyzer when toolchain override is present Selects a rust-toolchain declared RA based on its date. The earliest (oldest) RA wins and becomes the one that the workspace uses as a whole. In terms of precedence: nightly > stable-with-version > stable With stable-with-version, we invoke the RA with a `--version` arg and attempt to extract a date. Given the same date as a nightly, the nightly RA will win. Fixesrust-lang#17663
internal: Remove AbsPathBuf::TryFrom impl that checks too many things at once rust-lang/rust-analyzer#16889 (comment)
fix: Insert a generic arg for `impl Trait` when lowering generic args Fixesrust-lang#17191 We are not inserting a generic arg when lowering generics like ```rust fn foo<T: B<impl A>(..) { ... } ``` but when we are lowering predicates we do; https://github.com/rust-lang/rust-analyzer/blob/aa00ddcf654a35ba0eafe17247cf189958d33182/crates/hir-ty/src/lower.rs#L1697-L1718https://github.com/rust-lang/rust-analyzer/blob/aa00ddcf654a35ba0eafe17247cf189958d33182/crates/hir-ty/src/lower.rs#L310 and this mismatch causes index out of bound panic while substituting the predicates
feat: Load sysroot library via cargo metadata See rust-lang#128534, fixesrust-lang/rust-analyzer#7637 Requires a toolchain from 176e545 2024-08-04 or later to work.
internal: Newtype `ErasedFileAstId` It wrapping `la_arena::Idx` makes it quite annoying to use
feat: support inlay hint for more expr with label follow up rust-lang/rust-analyzer#17635
docs: add msvc note to manual Added note for Windows users to have the latest MSVC to minimize setup issues. Closesrust-lang#4870
Split out syntax-bridge into a separate crate This functionality is not really tied to mbe macros, so imo it has no place in that crate.
minor: sync from downstream
rustbot
commented
Aug 13, 2024
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
lnicola
commented
Aug 13, 2024
@bors r+ p=1 subtree update |
bors
commented
Aug 13, 2024
bors
commented
Aug 13, 2024
Subtree update of `rust-analyzer` r? `@ghost` CC `@ShoyuVanilla`
rust-log-analyzer
commented
Aug 13, 2024
bors
commented
Aug 13, 2024
💔 Test failed - checks-actions |
lnicola
commented
Aug 14, 2024
Subtree update of `rust-analyzer` r? `@ghost` CC `@ShoyuVanilla`
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#128828 (`-Znext-solver` caching) - rust-lang#128954 (Explicitly specify type parameter on FromResidual for Option and ControlFlow.) - rust-lang#129054 (Subtree update of `rust-analyzer`) - rust-lang#129059 (Record the correct target type when coercing fn items/closures to pointers) - rust-lang#129071 (Port `run-make/sysroot-crates-are-unstable` to rmake) r? `@ghost` `@rustbot` modify labels: rollup
bors
commented
Aug 14, 2024
bors
commented
Aug 14, 2024
☀️ Test successful - checks-actions |
rust-timer
commented
Aug 14, 2024
Finished benchmarking commit (0f442e2): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary -1.4%, secondary -0.9%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 2.9%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 751.474s -> 751.854s (0.05%) |
jieyouxu
commented
Aug 15, 2024
Mark-Simulacrum
commented
Aug 19, 2024
Not a real perf improvement, delta from bimodality in these benchmarks. |
r? @ghost
CC @ShoyuVanilla