about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2024-08-14Be more resilient to bad language item definitions in binop inferenceLaurențiu Nicola-9/+45
2024-08-14Auto merge of #17885 - Wilfred:op_queue_docs, r=lnicolabors-0/+20
minor: Add a doc comment for OpQueue Add an explanatory sentence and some sample code to help readers understand why this struct exists.
2024-08-13docs: Add a doc comment for OpQueueWilfred Hughes-0/+20
Add an explanatory sentence and some sample code to help readers understand why this struct exists.
2024-08-13Merge from rust-lang/rustLaurențiu Nicola-0/+2
2024-08-13Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2024-08-13Bump `rustc_pattern_analysis`Shoyu Vanilla-32/+30
2024-08-13Temporarily remove non-working test caseShoyu Vanilla-12/+2
2024-08-13feat: `min-exhaustive-patternsShoyu Vanilla-15/+131
2024-08-13Auto merge of #17876 - Veykril:semantics-include-simplify, r=Veykrilbors-88/+18
internal: Remove unreachable logic for include token mapping Turns out https://github.com/rust-lang/rust-analyzer/pull/17863 made this obsolete 🎉
2024-08-13Remove unreachable logic for include token mappingLukas Wirth-88/+18
2024-08-13Auto merge of #17867 - ShoyuVanilla:issue-17854, r=Veykrilbors-2/+27
fix: Trailing excess comma in "Convert to named struct" assist Fixes #17854
2024-08-12Allow declaring cfg groups in rust-project.json, to help sharing common cfgsChayim Refael Friedman-4/+619
2024-08-12fix: Trailing excess comma in "Convert to named struct" assistShoyu Vanilla-2/+27
2024-08-12fix: Missing non-exhaustive let diagnostics inside async or unsafe blockShoyu Vanilla-2/+46
2024-08-12Auto merge of #17864 - Veykril:lsif, r=Veykrilbors-5/+16
fix: Build and run build scripts in lsif command
2024-08-12Build and run build scripts in lsif commandLukas Wirth-5/+16
2024-08-12Auto merge of #17863 - Veykril:include-diags, r=Veykrilbors-56/+93
fix: Resolve included files to their calling modules in IDE layer Fixes https://github.com/rust-lang/rust-analyzer/issues/17390 at the expense of reporting duplicate diagnostics for modules that have includes in them when both the calling and called file are included.
2024-08-12Resolve included files to their calling modules in IDE layerLukas Wirth-56/+93
2024-08-12Auto merge of #17861 - Veykril:bump-lock, r=Veykrilbors-134/+161
minor: Bump lockfile
2024-08-12Allow new license combinationLukas Wirth-0/+1
2024-08-12Only keep lib/ in publish-libsLaurențiu Nicola-3/+2
2024-08-12Auto merge of #17850 - Veykril:rust-analyzer-crate, r=Veykrilbors-27/+71
internal: Reply to requests with defaults when vfs is still loading There is no reason for us to hit the database with queries when we certainly haven't reached a stable state yet. Instead we just reply with default request results until we are in a state where we can do meaningful work. This should save us from wasting resources while starting up at worst, and at best save us from creating query and interning entries that are non-meaningful which ultimately just end up wasting memory.
2024-08-12Auto merge of #17860 - Veykril:publish-libs, r=Veykrilbors-2/+2
fix: Fix publish libs workflow
2024-08-12internal: Reply to requests with defaults when vfs is still loadingLukas Wirth-27/+71
2024-08-12fix: Fix publish libs workflowLukas Wirth-2/+2
2024-08-12minor: Bump lockfileLukas Wirth-134/+160
2024-08-12Auto merge of #17843 - mo8it:flycheck, r=Veykrilbors-36/+38
internal: Performance optimizations - Use `Command::arg` directly - Avoid the overhead of the `select!` macro when possible - Use `select_biased!`
2024-08-12Auto merge of #17842 - mo8it:crossbeam-channel, r=Veykrilbors-34/+41
internal: Optimize the usage of channel senders Used `Sender` directly instead of a boxed closure. There is no need to use the boxed closure. This also allows the caller to decide to do something other than `unwrap` (not a fan of it BTW).
2024-08-12Auto merge of #17859 - Veykril:rustc_deprecated_safe_2024, r=Veykrilbors-19/+44
fix: Correctly support `#[rustc_deprecated_safe_2024]` Fixes https://github.com/rust-lang/rust-analyzer/issues/17852
2024-08-12fix: Correctly support `#[rustc_deprecated_safe_2024]`Lukas Wirth-19/+44
2024-08-12Use the send methodmo8it-31/+23
2024-08-12Add more track_callermo8it-1/+3
2024-08-12Add track_callermo8it-0/+1
2024-08-12Revert "Remove unneeded `send` method"mo8it-28/+32
This reverts commit 567bde603cfeedb5cfc44e441578c5416bfc4f35.
2024-08-12Auto merge of #17833 - edevil:fix_expansion_limit, r=Veykrilbors-2/+8
Reuse recursion limit as expansion limit A configurable recursion limit was introduced by looking at the recursion_limit crate attribute. Instead of relying on a global constant we will reuse this value for expansion limit as well. Addresses: https://github.com/rust-lang/rust-analyzer/issues/8640#issuecomment-2271740272
2024-08-12Auto merge of #17845 - ShoyuVanilla:tait, r=Veykrilbors-188/+288
feat: Implement TAIT and fix ATPIT a bit Closes #16296 (Commented on the issue) In #16852, I implemented ATPIT, but as I didn't discern ATPIT and other non-assoc TAIT, I guess that it has been working for some TAITs. As the definining usage of TAIT requires it should be appear in the Def body's type(const blocks' type annotations or functions' signatures), this can be done in simlilar way with ATPIT And this PR also corrects some defining-usage resolution for ATPIT
2024-08-11Fix deadlockmo8it-0/+6
2024-08-10Auto merge of #17844 - Veykril:find-path-std-fix, r=Veykrilbors-104/+124
fix: Fix find_path not respecting non-std preference config correctly Fixes https://github.com/rust-lang/rust-analyzer/issues/17840
2024-08-10Add comments regarding workspace structure change queryingLukas Wirth-0/+8
2024-08-10Move some stuffLukas Wirth-60/+50
2024-08-10Fixes in various placesNadrieril-0/+2
2024-08-10fix: Fix find_path not respecting non-std preference config correctlyLukas Wirth-104/+124
2024-08-10feat: Implement TAITShoyu Vanilla-188/+288
2024-08-10Avoid the overhead of select! when possiblemo8it-3/+6
2024-08-10Use select_biasedmo8it-7/+8
2024-08-10Simplify `check_command` while avoiding allocationsmo8it-26/+24
2024-08-09Remove unneeded `send` methodmo8it-32/+28
2024-08-09Use crossbeam-channel from the workspacemo8it-13/+13
2024-08-09Use Sender instead of boxed closure in vfsmo8it-31/+38
2024-08-09Use Sender directly instead of a boxed closuremo8it-7/+6