-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Subtree update of rust-analyzer
#121931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtree update of rust-analyzer
#121931
Conversation
`get_path_for_executable` will now first check `$CARGO_HOME` before falling back to searching `$PATH`. rustup is the recommended way to manage rust toolchains, therefore should be picked before the system toolchain.
internal: sync from downstream
update bug report issue template
…kril Document nvim 0.10 `inlay_hint` It took me a few hours to figure out how to enable inlay type hints on Nvim 0.10 with `lspconfig`. `rustaceanvim` has already dropped support for them (mrcjkb/rustaceanvim#46 (comment)) and most other plugins, like `rust-tools`, are depreciated in favor of `rustaceanvim`. This PR documents how to enable the inlay hints on Neovim 0.10 and later. I've tested this and changing the `on_attach` function is the only step that is required.
…r=Veykril Prioritise rustup sysroots over system ones `get_path_for_executable` will now first check `$CARGO_HOME` before falling back to searching `$PATH`. `rustup` is the recommended way to manage rust toolchains, therefore should be picked before the system toolchain. Closes rust-lang#16661
…, r=Veykril Merge `BorrowKind::Unique` into `BorrowKind::Mut` Resolves rust-lang#15170
…xt_with_find_map, r=Veykril fix: replace_filter_map_next_with_find_map shouldn't work for dyn trait close rust-lang/rust-analyzer#16596
Narrow down typos ignores - remove ignored files - check dotfiles - reorder config sections: files, regexp, words, IDs - remove non-existent ignores
fix: Fix modules in blocks not resolving in ide layer Fixes rust-lang/rust-analyzer#16511
internal: Remove salsa compile_fail tests I can't figure out how to reproduce them, but hopefully fixes these: 
fix: panic when inlining callsites inside macros' parameters Close rust-lang#16660, rust-lang#12429, rust-lang#10695. When `inline_into_callers` encounters callsites in macros parameters, it can lead to panics. Since there is no perfect way to handle macros, this PR directly filters out these cases.
internal: Remove load-cargo dependency on ide This lightens up the dep tree for projects using r-a as a library that do not need the ide crate itself.
Export `SemanticsImpl` from `ra_ap_hir` crate, since it's already exposed via `Semantics.deref()` The `SemanticsImpl` type is already de-facto exposed via `<Semantics as Deref>::Target`. By not being part of the public crate interface it however doesn't get included in the documentation, resulting in a massive blind spot when it comes to `ra_ap_hir`'s type resolution APIs.
minor: Move span stuff around
fix: Don't highlight related assoc items of super traits
minor: Remove outdated comment about static SmolStrs Closes rust-lang/rust-analyzer#16734
internal: Simplify
…ykril fix: Ignore generic arguments in intra doc link path resolution Fixes rust-lang/rust-analyzer#16699
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 |
@bors r+ p=1 subtree sync |
☀️ Test successful - checks-actions |
Finished benchmarking commit (1090205): comparison URL. Overall result: ❌ regressions - 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)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 650.052s -> 648.889s (-0.18%) |
r? @ghost