summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
AgeCommit message (Collapse)AuthorLines
2025-02-01Disable some incorrect rust-analyzer diagnostics on betaLukas Wirth-4/+4
2025-01-16Backport rust-lang/rust-analyzer#18760: internal: Workaround salsa cycles ↵Lukas Wirth-5/+10
leaking
2024-12-23Auto merge of #134681 - lnicola:sync-from-ra, r=lnicolabors-2091/+3026
Subtree update of `rust-analyzer` r? `@ghost`
2024-12-23Merge from rust-lang/rustLaurențiu Nicola-3/+5
2024-12-23Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, ↵Zalathar-1/+1
r=wesleywiser" This reverts commit 1d35638dc38dbfbf1cc2a9823135dfcf3c650169, reversing changes made to f23a80a4c2fbca593b64e70f5970368824b4c5e9.
2024-12-22Merge pull request #18742 from Veykril/push-yswvkzmsvqqlLukas Wirth-7/+7
fix: Fix flycheck workspace when requested but package was found
2024-12-22fix: Fix flycheck workspace when requested but package was foundLukas Wirth-7/+7
2024-12-22fix: Delay initial flycheck until after build scriptsLukas Wirth-6/+12
2024-12-22Merge pull request #18738 from Veykril/push-vqxqutskzvvuLukas Wirth-6/+10
fix: Properly check if workspace flychecking is allowed
2024-12-22Merge pull request #18740 from Veykril/push-tntsvtmtlotwLukas Wirth-20/+20
fix: Fix empty check diagnostics not marking files as changed
2024-12-22fix: Fix empty check diagnostics not marking files as changedLukas Wirth-20/+20
2024-12-22Merge pull request #18739 from Veykril/push-ntpvvqnnovtnLukas Wirth-0/+19
fix: Don't trigger paren wrapping typing handler after idents
2024-12-22fix: Properly check if workspace flychecking is allowedLukas Wirth-6/+10
2024-12-22fix: Don't trigger paren wrapping typing handler after identsLukas Wirth-0/+19
2024-12-22Merge pull request #18735 from Veykril/push-rpuxqrzrzvswLukas Wirth-3/+3
fix: Set `result_id` for `RelatedFullDocumentDiagnosticReport` everywhere
2024-12-22fix: Set `result_id` for `RelatedFullDocumentDiagnosticReport` everywhereLukas Wirth-3/+3
2024-12-21fix: only show debug lens with a valid rootroife-15/+19
2024-12-21fix: remove always! check for file_id in runnablesroife-16/+3
2024-12-20Revert "internal: Drop proc-macro server support for ~1.66.0 and older ↵Lukas Wirth-30/+48
toolchains"
2024-12-20Merge pull request #18729 from Veykril/push-kyxtnozqzwknLukas Wirth-53/+140
Clear flycheck diagnostics more granularly
2024-12-20Clear all check diagnostics when the workspace changesLukas Wirth-0/+1
2024-12-20Arc the package ids coming from flycheckLukas Wirth-12/+21
2024-12-20Arc the workspace root flycheckLukas Wirth-8/+8
2024-12-20Clear flycheck diagnostics more granularlyLukas Wirth-48/+125
2024-12-20Merge pull request #18723 from ChayimFriedman2/tracing-completeLukas Wirth-360/+596
fix: Fix a case where completion was unable to expand a macro
2024-12-20Fix a case where completion was unable to expand a macroChayim Refael Friedman-360/+596
Which caused the macros of the popular `tracing` crate to not offer completions. The reason is rather complicated: it boils down to macro ignoring their input and completion always choosing the first expansion.
2024-12-20Merge pull request #18728 from Veykril/push-ozqlrzmqklwtLukas Wirth-12/+19
internal: Split `serde` derive feature into `serde_derive` usage
2024-12-20Merge pull request #18702 from ChayimFriedman2/prepLukas Wirth-133/+162
minor: Use a record struct instead of a tuple for each namespace in `PerNs`
2024-12-20internal: Split serde derive feature into `serde_derive` usageLukas Wirth-12/+19
Ideally we'd not have any dependency pull in the derive feature for faster build times, once that is the case this change would have an actual effect. See https://github.com/matklad/macro-dep-test/blob/master/README.md for context.
2024-12-20Merge pull request #18726 from Veykril/push-vyzotyqqtpqsLukas Wirth-26/+19
fix: Reduce applicability of unnecessary_async assist
2024-12-20fix: Reduce applicability of unnecessary_async assistLukas Wirth-26/+19
2024-12-19Merge pull request #18717 from Veykril/push-pomxnvxotwlrLukas Wirth-7/+11
internal: Set `result_id` for pull diagnostics
2024-12-19internal: Set `result_id` for pull diagnosticsLukas Wirth-7/+11
2024-12-18Merge pull request #18715 from aibaars/ungram-asm-optionLukas Wirth-3/+1
Fix AsmOption rule in rust.ungram
2024-12-18fix: Consider both completion detail fields in to_protoLukas Wirth-1/+1
2024-12-18Fix AsmOption rule in rust.ungramArthur Baars-3/+1
2024-12-18fix: Do not ask the client ro resolve for non existing label detailsLukas Wirth-2/+4
2024-12-18internal: Cleanup label structure of `CompletionItem`Lukas Wirth-1070/+1201
2024-12-18Merge pull request #18711 from Veykril/push-kwurwxttmqwoLukas Wirth-2/+27
Taking a raw ref of a deref is always safe
2024-12-18Taking a raw ref of a deref is always safeLukas Wirth-2/+27
2024-12-18make no-variant types a dedicated Variants variantRalf Jung-9/+10
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-6/+7
2024-12-18Remove salsa from proc-macro server dep treeLukas Wirth-13/+88
2024-12-18Merge pull request #18708 from ChayimFriedman2/fix-tinyLukas Wirth-0/+19
fix: Fix pretty-printing of `@` patterns
2024-12-18Fix pretty-printing of `@` patternsChayim Refael Friedman-0/+19
It didn't print the `@`.
2024-12-16Stabilize #[coverage] attributeltdk-1/+1
2024-12-16Merge pull request #18700 from ChayimFriedman2/dyn-sendLukas Wirth-1/+18
fix: Fix a panic with a diagnostics fix when a keyword is used as a field
2024-12-16Use a record struct instead of a tuple for each namespace in `PerNs`Chayim Refael Friedman-133/+162
The reason I did this is because I plan to add another field to this struct (indicating whether the item was cfg'ed out), but it seems worthy even separately and removes a bunch of one-letter variable names and tuple-indexing. It is also easy to separate from future changes, so it will be easier to review this way.
2024-12-16Fix a panic with a diagnostics fix when a keyword is used as a fieldChayim Refael Friedman-1/+18
I found it easiest to fix in the quickfix code, and not deeper (e.g. body lowering).
2024-12-16fix: Fix path qualified auto-importing completions not working with re-exportsLukas Wirth-134/+221
Prior to this commit we used to generate import paths, then zipped them with the existing qualifier to check if they agree on the path to import. This is brittle when re-exports come into play causing items to have multiple applicable paths that refer to them. This commit instead rewrites this logic by generating the import path for the qualifier, verifying that the rest of the qualifier resolves and then doing a final lookup on that resolution result for the final segment instead.