about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-05-06Notify the user that we're collecting symbolsChayim Refael Friedman-1/+10
It could be confusing if they see "Indexing n/n" but cache priming does not finish.
2025-05-05Add a `--num-threads` to the `prime-caches` CLI commandChayim Refael Friedman-60/+61
And make it parallel by default (and remove the `--parallel` flag) to mirror the IDE cache priming.
2025-05-05Better manage parallel prime cachesChayim Refael Friedman-245/+167
To make best use of available cores, and don't waste time waiting for other tasks. See the comments in the code for explanation.
2025-05-05Merge pull request #19750 from Veykril/push-zvvsopwxovrnLukas Wirth-5/+0
fix: Remove unnecessary token length check for macros in renaming
2025-05-05fix: Remove unnecessary token length check for macros in renamingLukas Wirth-5/+0
2025-05-05Merge pull request #19749 from Veykril/push-tsxvxzzmlxpqLukas Wirth-56/+4
refactor: Remove unnecessary `AsAny` trait
2025-05-05Merge pull request #19748 from Veykril/push-qvmtutwtonouLukas Wirth-10/+4
github: Direct users to discussions instead of issues for questions
2025-05-05refactor: Remove unnecessary `AsAny` traitLukas Wirth-56/+4
2025-05-05github: Direct users to discussions instead of issues for questionsLukas Wirth-10/+4
2025-05-05Merge pull request #19434 from vishruth-thimmaiah/negatives_in_concatLukas Wirth-3/+36
fix: negative nums in `concat!` expansion
2025-05-05fix: negative nums in `concat!` expansionVishruth-Thimmaiah-3/+36
2025-05-05Merge pull request #19747 from Veykril/push-kqxvxrxozswrLukas Wirth-18/+111
fix: Fix `move_bounds` assists not working for lifetimes
2025-05-05fix: Fix `move_bounds` assists not working for lifetimesLukas Wirth-47/+196
2025-05-05Merge pull request #19746 from Veykril/push-swvuyqwwplrtLukas Wirth-44/+415
fix: Fix proc-macro API creating malformed negative literals
2025-05-05fix: Fix proc-macro API creating malformed negative literalsLukas Wirth-29/+85
2025-05-05minor: Add more proc-macro tests for parsing negative literalsLukas Wirth-26/+341
2025-05-05Merge pull request #19745 from Veykril/push-rnqulnqvltroLukas Wirth-0/+118
minor: Add a mbe test for parsing negative literals
2025-05-05minor: Add a mbe test for parsing negative literalsLukas Wirth-0/+118
2025-05-05Merge pull request #19740 from vishruth-thimmaiah/unwrap_path_typeLukas Wirth-0/+175
feat: add an assist to unwrap a type with a generic arg
2025-05-05feat: add an assist to unwrap a type with a generic argVishruth-Thimmaiah-0/+175
This assist unwraps a type into its generic type argument, ignoring const and lifetime arguments
2025-05-05Merge pull request #19707 from Veykril/push-kqkpzkymkyylLukas Wirth-455/+498
refactor: De-arc defmap queries
2025-05-05refactor: De-arc defmap queriesLukas Wirth-455/+498
2025-05-05Merge pull request #19742 from Veykril/push-ykmuwtkzruqmLukas Wirth-22/+303
fix: Fix incorrect handling of unresolved non-module imports in name resolution
2025-05-05Fix incorrect handling of unresolved non-module imports in name resolutionLukas Wirth-22/+303
2025-05-04Merge pull request #19739 from Veykril/push-kpozprqnsmkkLukas Wirth-12/+12
Disable fixpoint for variance computation temporarily
2025-05-04Disable fixpoint for variance computation temporarilyLukas Wirth-12/+12
2025-05-04Merge pull request #19735 from A4-Tacks/improve-let-snippetLukas Wirth-6/+101
Improve the let code snippet
2025-05-03Improve let snippetA4-Tacks-6/+6
2025-05-03Improve the let code snippetA4-Tacks-6/+101
2025-05-02Merge pull request #19733 from ShoyuVanilla/issue-19724Lukas Wirth-13/+82
fix: Implement mut to const ptr cast for method resolution
2025-05-02Merge pull request #19732 from ShoyuVanilla/issue-19730Lukas Wirth-1/+27
fix: Correct assoc ty bound var starting index
2025-05-03fix: Implement mut to const ptr cast for method resolutionShoyu Vanilla-13/+82
2025-05-02Merge pull request #19731 from Veykril/push-mmvowomkpwxyLukas Wirth-175/+113
refactor: Simplify macro call id construction
2025-05-03fix: Correct assoc ty bound var starting indexShoyu Vanilla-1/+27
2025-05-02refactor: Simplify macro call id constructionLukas Wirth-175/+113
2025-05-02Merge pull request #19581 from Veykril/push-uvyutolsqnunLukas Wirth-149/+201
Render more lifetimes
2025-05-02Render more lifetimesLukas Wirth-149/+201
2025-05-01Merge pull request #19727 from matthiaskrgr/enolcLaurențiu Nicola-90/+71
remove a couple of clones
2025-05-01remove a couple of clonesMatthias Krüger-90/+71
2025-05-01Merge pull request #19726 from lnicola/sync-from-rustLaurențiu Nicola-8330/+13790
Sync from downstream again
2025-05-01Merge from rust-lang/rustLaurențiu Nicola-8323/+13783
2025-05-01Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-05-01Update lockfileLaurențiu Nicola-6/+6
2025-05-01Merge pull request #19725 from Veykril/push-xwqzzsklslrqLukas Wirth-2/+2
Bump salsa
2025-05-01Bump salsaLukas Wirth-2/+2
2025-05-01Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLiibors-29/+156
Add a jobserver proxy to ensure at least one token is always held This adds a jobserver proxy to ensure at least one token is always held by `rustc`. Currently with `-Z threads` `rustc` can temporarily give up all its tokens, causing `cargo` to spawn additional `rustc` instances beyond the job limit. The current behavior causes an issue with `cargo fix` which has a global lock preventing concurrent `rustc` instances, but it also holds a jobserver token, causing a deadlock when `rustc` gives up its token. That is fixed by this PR. Fixes https://github.com/rust-lang/rust/issues/67385. Fixes https://github.com/rust-lang/rust/issues/133873. Fixes https://github.com/rust-lang/rust/issues/140093.
2025-04-30Auto merge of #121909 - Zoxc:drop-ast-task, r=petrochenkovbors-3/+26
Drop AST on a separate thread and prefetch `hir_crate` This drop AST on a separate thread and prefetches `hir_crate`. A `spawn` function is added to the `parallel` module which spawn some work on the Rayon thread pool.
2025-04-30Auto merge of #140529 - matthiaskrgr:rollup-jpaa2ky, r=matthiaskrgrbors-39598/+33315
Rollup of 10 pull requests Successful merges: - #140385 (Subtree update of `rust-analyzer`) - #140458 (Fix for async drop ice with partly dropped tuple) - #140465 (chore: edit and move tests) - #140467 (Don't FCW assoc consts in patterns) - #140468 (Minor tweaks to make some normalization (adjacent) code less confusing) - #140470 (CI: rfl: move job forward to Linux v6.15-rc4) - #140476 (chore: delete unused ui/auxiliary crates) - #140481 (Require sanitizers be enabled for asan_odr_windows.rs) - #140486 (rustfmt: Also allow bool literals as first item of let chain) - #140494 (Parser: Document restrictions) r? `@ghost` `@rustbot` modify labels: rollup
2025-04-30Rollup merge of #140494 - ehuss:document-restrictions, r=traviscross,SparrowLiiMatthias Krüger-0/+49
Parser: Document restrictions I had trouble easily understanding what these various flags do. This is my attempt to try to explain what these do.
2025-04-30Rollup merge of #140486 - calebcartwright:rustfmt-let-chain-bool-lit, ↵Matthias Krüger-15/+17
r=calebcartwright rustfmt: Also allow bool literals as first item of let chain This is a functional cherry-pick of https://github.com/rust-lang/rustfmt/pull/6492 I'm bringing this change over directly as the subtree sync is taking more effort than anticipated (some unrelated r-l/rustfmt changes need to be reverted before we perform the full sync) and we need to ensure that rustfmt behavior accounts with the final style guide rules as part of let chain stabilization. r? ````@ghost````