about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-03-25Tidy up drop glue notificationConrad Irwin-421/+107
This combines the memory layout and drop information on one line, and makes the wording more succinct. Closes #19410
2025-03-22Merge pull request #19419 from ShoyuVanilla/issue-15132Lukas Wirth-7/+73
Render layout and other extra information on hovering `Self`
2025-03-22Merge pull request #19416 from ShoyuVanilla/issue-15037Lukas Wirth-71/+91
fix: Handle multiple `#[repr(..)]` attrs correctly
2025-03-22Merge pull request #19420 from BenjaminBrienen/doc-fixesLukas Wirth-8/+8
Improve contributing/README.md
2025-03-22Improve contributing/README.mdBenjaminBrienen-8/+8
2025-03-22Render layout and other extra informations on hovering `Self`Shoyu Vanilla-7/+73
2025-03-22fix: Handle multiple `#[repr(..)]` attrs correctlyShoyu Vanilla-71/+91
2025-03-22Merge pull request #19362 from nemethf/fix-19322Lukas Wirth-580/+562
Speed up resolving a "Generate delegate method" assist
2025-03-22Speed up resolving "Generate delegate method" assist (part 2)Felicián Németh-570/+532
Make it compile by adding a `None` subtype to rest of the AssistId instantiations.
2025-03-22Speed up resolving "Generate delegate method" assist (part 1)Felicián Németh-10/+30
Fix #19322 Sometimes there are 185 "Generate delegate" assists with the same assist_id and asssist_kind. This commit introduces and additional differentiator: assist_subtype. Therefore, when the LSP client sends an assist resolve request, rust-analyzer only need to compute edits for a single assist instead of 185.
2025-03-22Merge pull request #19413 from ShoyuVanilla/issue-19399Lukas Wirth-0/+19
fix: Properly calculate the layouts of tuple ptrs whose last fields are DST
2025-03-22fix: Properly calculate the layouts of tuple ptrs whose last fields are DSTShoyu Vanilla-0/+19
2025-03-21Merge pull request #19412 from Veykril/push-krktmvxmlxmtLukas Wirth-47/+46
chore: Remove some unnecessary usage of `Semantics`
2025-03-21chore: Remove some unnecessary usage of `Semantics`Lukas Wirth-47/+46
2025-03-21Merge pull request #19409 from Veykril/push-osqtywsvmwxvLukas Wirth-35/+42
minor: Don't query the database in workspace switching
2025-03-21Merge pull request #19348 from jnyfah/some-branchLukas Wirth-6/+34
Add text edit support for return type hints on non-block body closures
2025-03-21Merge pull request #19397 from gvozdvmozgu/postfix-const-blockLukas Wirth-20/+86
add postfix completion for const block
2025-03-21Merge pull request #19408 from Veykril/push-wtnxzulsovxyLukas Wirth-464/+2844
refactor: Reduce codegen burden for generated syntax
2025-03-21fix: Fix incorrect expansion of builtin `PartialOrd` deriveLukas Wirth-2/+3
2025-03-21refactor: Reduce codegen burden for `SyntaxNode` and `SyntaxToken`Lukas Wirth-426/+2767
2025-03-21refactor: Reduce codegen burden for `SyntaxKind`Lukas Wirth-38/+76
2025-03-21minor: Don't query the database in workspace switchingLukas Wirth-35/+42
2025-03-21Merge pull request #19407 from Veykril/push-zkvxrrktwyxpLukas Wirth-1/+2
minor: Trigger LRU eviction after cache priming finishes
2025-03-21minor: Trigger LRU eviction after cache priming finishesLukas Wirth-1/+2
2025-03-21Merge pull request #19405 from ChayimFriedman2/no-expandLukas Wirth-68/+31
minor: Remove unnecessary expansions
2025-03-20Remove unnecessary expansionsChayim Refael Friedman-68/+31
In the body source map, we record each macro call with the `ExprOrPatId` it resolved to, so to lookup the `ExprId` of some node, we don't need to expand it!
2025-03-19add postfix completion for const blockgvozdvmozgu-20/+86
2025-03-18Merge pull request #19391 from Veykril/push-rnrskpqoltplLukas Wirth-30/+17
chore: Clean up proc-macro-srv CI job
2025-03-18chore: Clean up proc-macro-srv CI jobLukas Wirth-30/+17
2025-03-18Merge pull request #19390 from Veykril/push-nnuxnoqkxlyuLukas Wirth-125/+106
refactor: Do not use `Expander` in assoc item lowering
2025-03-18refactor: Do not use `Expander` in assoc item loweringLukas Wirth-125/+106
`Expander` is a macro expansion solution for body lowering, there is no need to use it here
2025-03-17Merge pull request #19320 from alibektas/19254Chayim Refael Friedman-3/+48
Observe unsafeness when generating manual impls of former derives
2025-03-17Test unsafeness is respected when manual impling derivesAli Bektas-5/+45
2025-03-17Observe unsafeness only for replace_derive_with_manual_implAli Bektas-34/+6
2025-03-17Observe unsafeness when generating manual impls of former derivesAli Bektas-2/+35
2025-03-17Merge pull request #19005 from ↵HKalbasi-143/+186
duncanawoods/18955---fix-running-tests-for-packages-with-multiple-targets fix testing packages with multiple targets
2025-03-17 No edit if no bodyjnyfah-1/+4
2025-03-17some changesjnyfah-3/+2
2025-03-17Merge pull request #19378 from ↵Lukas Wirth-2/+8
davidbarsky/davidbarsky/run-lru-at-end-of-analysis-stats analysis-stats: run Salsa's LRU at the end of analysis
2025-03-17analysis-stats: run Salsa's LRU at the end of analysisDavid Barsky-2/+8
2025-03-17Merge pull request #19379 from Veykril/push-nwmqsvtqpnkoLukas Wirth-244/+277
chore: Bump `Edition::CURRENT` to 2024
2025-03-17Merge pull request #19384 from Veykril/push-yppplzzpoymrLukas Wirth-5/+5
fix: Fix stale `Building CrateGraph` report
2025-03-17chore: Bump `Edition::CURRENT` to 2024Lukas Wirth-244/+277
2025-03-17fix: Fix stale `Building CrateGraph` reportLukas Wirth-5/+5
2025-03-17Merge pull request #19315 from snprajwal/ci-xtaskLukas Wirth-7/+18
fix(codegen): do not generate docs with `--check`
2025-03-17Merge pull request #19329 from Shourya742/2025-03-10-add-proc-macro-api-docLukas Wirth-1/+71
doc: add doc to proc-macro-api
2025-03-17fix(codegen): do not generate docs with `--check`Prajwal S N-7/+18
Running `cargo codegen --check` should not generate any mdbook files, since they are ignored in the repo and used only while releasing a new copy of the documentation. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-16Merge pull request #19374 from lnicola/nextestLaurențiu Nicola-1/+3
minor: Use cargo nextest on CI
2025-03-16Merge pull request #19355 from Veykril/push-nzknrnouutnpLukas Wirth-179/+182
internal: Render root syntax contexts more clearly
2025-03-16internal: Render root syntax contexts more clearlyLukas Wirth-164/+177