Commit graph

283768 commits

Author SHA1 Message Date
Lukas Wirth
ed4a749f52 fix: Fix incorrect expansion of builtin PartialOrd derive 2025-03-21 12:14:39 +01:00
Lukas Wirth
c9355c69bd refactor: Reduce codegen burden for SyntaxNode and SyntaxToken 2025-03-21 12:14:39 +01:00
Lukas Wirth
3f7fc4dff2 refactor: Reduce codegen burden for SyntaxKind 2025-03-21 12:14:39 +01:00
Lukas Wirth
7e1610e723
Merge pull request #19405 from ChayimFriedman2/no-expand
minor: Remove unnecessary expansions
2025-03-21 05:32:10 +00:00
Chayim Refael Friedman
2b4d783dd4 Remove unnecessary expansions
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-20 21:49:18 +02:00
Lukas Wirth
0e160b70f2
Merge pull request #19391 from Veykril/push-rnrskpqoltpl
chore: Clean up proc-macro-srv CI job
2025-03-18 11:22:41 +00:00
Lukas Wirth
e41cd5f148 chore: Clean up proc-macro-srv CI job 2025-03-18 12:06:25 +01:00
Lukas Wirth
ec6894ecc1
Merge pull request #19390 from Veykril/push-nnuxnoqkxlyu
refactor: Do not use `Expander` in assoc item lowering
2025-03-18 10:27:53 +00:00
Lukas Wirth
1d6ce04421 refactor: Do not use Expander in assoc item lowering
`Expander` is a macro expansion solution for body lowering, there is no need to use it here
2025-03-18 11:11:36 +01:00
Chayim Refael Friedman
1f275b6609
Merge pull request #19320 from alibektas/19254
Observe unsafeness when generating manual impls of former derives
2025-03-17 22:05:07 +00:00
Ali Bektas
d88a6159ea Test unsafeness is respected when manual impling derives 2025-03-17 22:37:21 +01:00
Ali Bektas
1919a66f93 Observe unsafeness only for replace_derive_with_manual_impl 2025-03-17 21:57:21 +01:00
Ali Bektas
741849804f Observe unsafeness when generating manual impls of former derives 2025-03-17 21:55:27 +01:00
HKalbasi
835117c64e
Merge pull request #19005 from duncanawoods/18955---fix-running-tests-for-packages-with-multiple-targets
fix testing packages with multiple targets
2025-03-17 19:54:49 +00:00
Lukas Wirth
5cc6d29e67
Merge pull request #19378 from davidbarsky/davidbarsky/run-lru-at-end-of-analysis-stats
analysis-stats: run Salsa's LRU at the end of analysis
2025-03-17 14:59:46 +00:00
David Barsky
b97596c81f analysis-stats: run Salsa's LRU at the end of analysis 2025-03-17 10:45:03 -04:00
Lukas Wirth
5b91762451
Merge pull request #19379 from Veykril/push-nwmqsvtqpnko
chore: Bump `Edition::CURRENT` to 2024
2025-03-17 14:39:10 +00:00
Lukas Wirth
6c70045a66
Merge pull request #19384 from Veykril/push-yppplzzpoymr
fix: Fix stale `Building CrateGraph` report
2025-03-17 11:35:31 +00:00
Lukas Wirth
65f73976bb chore: Bump Edition::CURRENT to 2024 2025-03-17 12:29:19 +01:00
Lukas Wirth
ce23f73750 fix: Fix stale Building CrateGraph report 2025-03-17 12:19:33 +01:00
Lukas Wirth
27502d937d
Merge pull request #19315 from snprajwal/ci-xtask
fix(codegen): do not generate docs with `--check`
2025-03-17 09:24:46 +00:00
Lukas Wirth
4fad0534b3
Merge pull request #19329 from Shourya742/2025-03-10-add-proc-macro-api-doc
doc: add doc to proc-macro-api
2025-03-17 09:17:35 +00:00
Prajwal S N
63722ea55d
fix(codegen): do not generate docs with --check
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-17 14:40:24 +05:30
Laurențiu Nicola
2e7901e90c
Merge pull request #19374 from lnicola/nextest
minor: Use cargo nextest on CI
2025-03-16 17:38:08 +00:00
Lukas Wirth
4848b1bc89
Merge pull request #19355 from Veykril/push-nzknrnouutnp
internal: Render root syntax contexts more clearly
2025-03-16 17:30:57 +00:00
Lukas Wirth
68d08a542c internal: Render root syntax contexts more clearly 2025-03-16 16:26:07 +01:00
Lukas Wirth
a68616f98d internal: Symbol is not PartialOrd 2025-03-16 16:06:06 +01:00
Lukas Wirth
d89aefd5f2
Merge pull request #19376 from Veykril/push-ultzutkwqupt
minor: Remove unnecessary allocations in `function::params_display`
2025-03-16 14:35:16 +00:00
Lukas Wirth
a51070ba88 minor: Remove unnecessary allocations in function::params_display 2025-03-16 15:19:25 +01:00
Lukas Wirth
98f346f46a
Merge pull request #19363 from euclio/varargs-detail
display varargs in completion detail
2025-03-16 13:43:11 +00:00
Lukas Wirth
7b33761eea
Merge pull request #19344 from BenjaminBrienen/add-icons
Add icons to views
2025-03-16 13:42:30 +00:00
Lukas Wirth
0e4c2069ea
Merge pull request #19354 from ChayimFriedman2/rtn-prep
Preparation to Return Type Notation (RTN)
2025-03-16 13:21:23 +00:00
Laurențiu Nicola
7f1950a739 Use cargo nextest on CI 2025-03-16 12:04:11 +02:00
Lukas Wirth
f7e883a0cc
Merge pull request #19368 from Veykril/push-pkooqmlxszps
refactor: Remove `CrateGraphBuilder::iter_mut`
2025-03-16 09:43:25 +00:00
Lukas Wirth
cd0582c1e1 refactor: Remove unnecessary Arc 2025-03-16 10:27:48 +01:00
Lukas Wirth
ccecb291cb refactor: Remove CrateGraphBuilder::iter_mut 2025-03-16 10:24:15 +01:00
Chayim Refael Friedman
fcd6e94186
Merge pull request #19236 from BenjaminBrienen/rust-2024-and-1.85
Rust 2024 and 1.85
2025-03-15 20:48:46 +00:00
Andy Russell
f98dec54d2
display varargs in completion detail 2025-03-15 16:36:14 -04:00
BenjaminBrienen
de08516547 Add view icons 2025-03-15 21:34:12 +01:00
BenjaminBrienen
52e6c2602b cargo fmt 2025-03-15 21:32:01 +01:00
BenjaminBrienen
dac0032613 fix temporary value dropped while borrowed 2025-03-15 21:32:01 +01:00
BenjaminBrienen
053e6c7c4e cargo xtask tidy 2025-03-15 21:32:01 +01:00
BenjaminBrienen
4041c67e90 cargo fmt 2025-03-15 21:32:01 +01:00
BenjaminBrienen
edb25788a0 fix clippy::doc_overindented_list_items 2025-03-15 21:32:01 +01:00
BenjaminBrienen
b5b7a54e95 cargo clippy --fix 2025-03-15 21:32:01 +01:00
BenjaminBrienen
87228245cf edition = "2024" 2025-03-15 21:32:01 +01:00
BenjaminBrienen
ebb85886ab rust-version = "1.85" 2025-03-15 21:32:01 +01:00
BenjaminBrienen
b12d934ced Fix 2024 syntax errors 2025-03-15 21:32:01 +01:00
Chayim Refael Friedman
845ca7b7ac
Merge pull request #19370 from DriedYellowPeach/refactor/io-result
refactor: Simplify by removing ? operator
2025-03-15 19:53:43 +00:00
Lukas Wirth
2d6ab1580f
Merge pull request #19369 from SomeoneToIgnore/lenient-action-resolve
Do not error for actions with no data to resolve
2025-03-15 19:43:59 +00:00