about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
AgeCommit message (Collapse)AuthorLines
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.
2024-12-16Merge pull request #18698 from Veykril/push-vpqwrwxptsqlLukas Wirth-3/+11
internal: Don't serialize empty fields in completions and resolve payloads
2024-12-16Merge pull request #18690 from Giga-Bowser/extract-variable-stringLukas Wirth-15/+168
feat: Use string literal contents as a name when extracting into variable
2024-12-16internal: Don't serialize empty fields in completions and resolve payloadsLukas Wirth-3/+11
2024-12-16Merge pull request #18695 from roife/improve-tuple-destructionLukas Wirth-74/+74
minor: improve name suggestion for destructure_tuple_binding
2024-12-16Merge pull request #18696 from ChayimFriedman2/syn-synLukas Wirth-63/+110
feat: Report unresolved idents for implicit captures in `format_args!()`
2024-12-16Merge pull request #18697 from Veykril/push-qtmmtvpyrntrLukas Wirth-30/+9
internal: Simplify ratoml testdir usage
2024-12-16internal: Simplify ratoml testdir usageLukas Wirth-30/+9
2024-12-16Report unresolved idents for implicit captures in `format_args!()`Chayim Refael Friedman-63/+110
And also a bit of cleanup by storing the capture's span with the open quote included.
2024-12-16refactor: simplify `edit_tuple_usages` in destructure_tuple_bindingroife-46/+30
2024-12-15Merge pull request #18693 from Veykril/push-wzoomkkmuolmLaurențiu Nicola-6/+3
fix: Fix proc-macro dylib names on windows
2024-12-15fix: Fix proc-macro dylib names on windowsLukas Wirth-6/+3
2024-12-15internal: Show mir eval errors on hover with debug env var setLukas Wirth-97/+113
2024-12-14feat: Use string literal contents as a name when extracting into variableGiga Bowser-15/+168
2024-12-13feat: improve name generation in destructure_tuple_bindingroife-33/+49
2024-12-13Bump typosLaurențiu Nicola-9/+9
2024-12-13Merge pull request #18678 from regexident/fix-typosLaurențiu Nicola-6/+6
minor: Fix a few typos
2024-12-13Fix a few typosVincent Esche-6/+6
2024-12-13Merge pull request #18674 from Veykril/push-lrxotqknvxvrLukas Wirth-37/+76
Show expansion errors in expand_macro feature
2024-12-13Merge pull request #18672 from Veykril/push-lurnqpqtzvzqLukas Wirth-41/+15
internal: Do not require a special env var to be set for the proc-macro-srv
2024-12-13Show expansion errors in expand_macro featureLukas Wirth-37/+76
2024-12-13Do not require a special env var to be set for the proc-macro-srvLukas Wirth-41/+15
2024-12-12Merge pull request #18677 from Veykril/push-uumpxklsqpzkLukas Wirth-1/+4
internal: Implement `naked_asm!` builtin
2024-12-12internal: Implement `naked_asm!` builtinLukas Wirth-1/+4
2024-12-12Merge pull request #18675 from ShoyuVanilla/issue-18664Lukas Wirth-2/+50
fix: Panic when displaying generic params with defaults, again
2024-12-13fix: Panic when displaying generic params with defaults, againShoyu Vanilla-2/+50
2024-12-12Fix typo in error message for invalid castingPhilipp Hofer-1/+1
Corrected the spelling of "defererence" to "dereference" in the error message that informs users about invalid casting requirements.
2024-12-12Merge pull request #18670 from Veykril/push-ylomnylswnxmLukas Wirth-48/+30
internal: Drop proc-macro server support for ~1.66.0 and older toolchains
2024-12-12internal: Drop proc-macro server support for ~1.66.0 and older toolchainsLukas Wirth-48/+30
2024-12-12Merge pull request #18652 from Giga-Bowser/extract-constantLukas Wirth-306/+1634
feat: Add an assist to extract an expression into a constant
2024-12-12Merge pull request #18669 from Veykril/push-qqkuxtvsmsutLukas Wirth-32/+31
internal: Only parse the object file once in proc-macro-srv
2024-12-12Fix clippy lints in proc-macro-srvLukas Wirth-11/+12
2024-12-12Only parse the object file onceLukas Wirth-21/+19
2024-12-12Merge pull request #18668 from Veykril/push-tpkmsyllunqvLukas Wirth-75/+75
fix: Fix sourceroot construction for virtual manifests
2024-12-12Merge pull request #18660 from Veykril/push-snumrtvzwqvwLukas Wirth-69/+72
fix: copied proc-macros not being cleaned up on exit