Commit graph

283713 commits

Author SHA1 Message Date
Kirill Bulatov
3bec5066bc Do not error for actions with no data to resolve
Same as the other resolve code handlers in the same file.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#version_3_17_0
does not forbid resolving with no data, so instead of erroring, just consider such items resolved already.
2025-03-15 21:27:18 +02:00
Lukas Wirth
6e926fd216
Merge pull request #19366 from Veykril/push-mkunlxkysssr
chore: Remove legacy `SyntaxContextId` re-export
2025-03-15 16:25:13 +00:00
Lukas Wirth
5528b96faa
Merge pull request #19367 from Veykril/push-ryowkxkntnpo
chore: Drop legacy salsa
2025-03-15 16:21:20 +00:00
Lukas Wirth
f2d36158bc chore: Remove legacy SyntaxContextId re-export 2025-03-15 17:09:17 +01:00
Lukas Wirth
94e0b32258 chore: Drop legacy salsa 2025-03-15 12:02:31 -04:00
Lukas Wirth
cbd6265920
Merge pull request #19364 from Veykril/push-uonyorwwzpzx
fix: Fix missing `with_durability` calls
2025-03-15 15:09:18 +00:00
Lukas Wirth
246415809c fix: Fix missing with_durability calls 2025-03-15 15:53:23 +01:00
Laurențiu Nicola
ca115123d8
Merge pull request #19360 from darichey/msrv-1.85
internal: Require Rust 1.85
2025-03-15 06:06:17 +00:00
David Richey
7060bfe553 Require Rust 1.85 2025-03-14 16:55:24 -05:00
Lukas Wirth
ad3675dd3a
Merge pull request #19271 from vishruth-thimmaiah/for_loop_to_while_let
feat: for loop to while let assist
2025-03-14 20:22:02 +00:00
Lukas Wirth
f7c1a6d34c
Merge pull request #19356 from flodiebold/push-snpyvwuulkmw
fix: Avoid recursively debug printing crates
2025-03-14 18:19:05 +00:00
Florian Diebold
2c2bc99a63 Avoid recursively debug printing crates 2025-03-14 19:02:06 +01:00
Vishruth-Thimmaiah
aed21ed588
feat: for loop to while let assist 2025-03-14 19:15:37 +05:30
Lukas Wirth
1d4ab0cb95
Merge pull request #19228 from Veykril/push-xxplutrwplou
Split some queries
2025-03-14 13:33:07 +00:00
Lukas Wirth
2e83e8a84d Split variant_data into its own query 2025-03-14 14:16:33 +01:00
Lukas Wirth
176981ef49 Split enum variants out of enum_data query 2025-03-14 13:32:53 +01:00
Lukas Wirth
1835bc2a87 Move attribute parsing out of data module 2025-03-14 13:31:41 +01:00
Lukas Wirth
9ccee20d42 Split assoc items out of trait_data/impl_data queries 2025-03-14 13:31:41 +01:00
David Barsky
35209f462b
Merge pull request #19351 from davidbarsky/davidbarsky/fix-panic-in-diagnostics
internal: don't panic when the crate graph isn't ready
2025-03-13 19:46:01 +00:00
David Barsky
a508206f4e internal: don't panic when the crate graph isn't ready #19351 2025-03-13 15:14:08 -04:00
Chayim Refael Friedman
8148fa9324
Merge pull request #19337 from ChayimFriedman2/salsify-crate-graph-final
Salsify the crate graph
2025-03-12 19:17:29 +00:00
Chayim Refael Friedman
5c72923368 Salsify the crate graph
I.e. make it not one giant input but multiple, for incrementality and decreased memory usage for Salsa 3 reasons.
2025-03-12 21:02:30 +02:00
Florian Diebold
74220a6f80
Merge pull request #19343 from flodiebold/push-tmumzoxxmxsr
Make GenericParamsCollector::type_or_consts not unnecessarily pub(crate)
2025-03-11 14:26:24 +00:00
¨Florian
521fa18d5d Make GenericParamsCollector::type_or_consts not unnecessarily pub(crate) 2025-03-11 15:09:39 +01:00
David Barsky
da0e278647
Merge pull request #18964 from davidbarsky/davidbarsky/port-rust-analyzer-to-new-salsa
internal: port rust-analyzer to new Salsa
2025-03-10 18:12:35 +00:00
David Barsky
a5c071633b internal: port rust-analyzer to new Salsa 2025-03-10 13:30:51 -04:00
David Barsky
83c1c4c2bb internal(config): use FxIndexMap for default completion snippets 2025-03-10 12:55:46 -04:00
Lukas Wirth
5dfe55fb49
Merge pull request #19305 from davidbarsky/davidbarsky/vendor-query-group-macro
internal: vendor `query-group-macro` in rust-analyzer
2025-03-10 14:29:45 +00:00
David Barsky
02ac23a7d6 internal: vendor query-group-macro 2025-03-10 10:12:52 -04:00
Lukas Wirth
93e443b143
Merge pull request #19334 from Veykril/push-oynrurllmwtk
internal: Remove generated md book files
2025-03-10 13:12:43 +00:00
Lukas Wirth
99fe5167e5 Remove generated md book files 2025-03-10 13:57:26 +01:00
Lukas Wirth
604b879548
Merge pull request #19326 from Veykril/push-vovuxzkzrowp
Add missing name-ref parents to syntactic highlighting
2025-03-10 11:47:15 +00:00
Lukas Wirth
84632381c7
Merge pull request #19294 from alibektas/better_build_script_err_msgs
minor: Show build scripts errors in server status
2025-03-10 11:35:07 +00:00
Lukas Wirth
1dd859f658 Add missing name-ref parents to syntactic highlighting 2025-03-10 12:31:38 +01:00
Lukas Wirth
356f3f479f
Merge pull request #19332 from Veykril/push-trvznlqsvtyq
Make change annotations per text-edit
2025-03-10 11:25:13 +00:00
Lukas Wirth
82cbddf628
Merge pull request #19333 from alexkirsz/alexkirsz/fix-diagnostics
fix: Fix diagnostics being cleared right after being received
2025-03-10 11:12:00 +00:00
Lukas Wirth
1ba439124d Make change annotations per text-edit 2025-03-10 12:08:42 +01:00
Alex Kirszenberg
680e6f35bc Fix diagnostics being cleared right after being received 2025-03-10 11:56:50 +01:00
Laurențiu Nicola
52f39ffe83
Merge pull request #19331 from lnicola/sync-from-rust
minor: Sync from downstream
2025-03-10 09:52:17 +00:00
Laurențiu Nicola
1d983bf794 Format code 2025-03-10 11:37:21 +02:00
Lukas Wirth
af32b22982
Merge pull request #19328 from Veykril/push-umwykvoskvyp
internal: Run proc-macro server tests as separate CI job
2025-03-10 09:30:22 +00:00
Laurențiu Nicola
c372c55f2b Fix simd layout test 2025-03-10 11:21:03 +02:00
Laurențiu Nicola
87d5bf2b92 Bump rustc crates 2025-03-10 11:20:56 +02:00
Lukas Wirth
ee79f3e9dc Run proc-macro server tests are separate CI job
Touch tt
2025-03-10 10:16:32 +01:00
Lukas Wirth
1c8acd4b7f
Merge pull request #19330 from ChayimFriedman2/normalize-projection
fix: Normalize projections in evaluated const display and layout calculation
2025-03-10 09:15:35 +00:00
Lukas Wirth
44fad0b1d6
Merge pull request #19079 from ChayimFriedman2/rename-conflict
feat: Warn the user when a rename will change the meaning of the program
2025-03-10 08:59:43 +00:00
Lukas Wirth
f53d1eba48
Merge pull request #19327 from Veykril/push-qyyvkulltzpz
Fix `path` macro hygiene
2025-03-10 08:45:04 +00:00
Laurențiu Nicola
e1da1b09bf Merge from rust-lang/rust 2025-03-10 10:41:53 +02:00
Laurențiu Nicola
fdee1c1455 Preparing for merge from rust-lang/rust 2025-03-10 10:41:28 +02:00
Lukas Wirth
7ee9ce8480 Fix path macro hygiene 2025-03-10 09:29:27 +01:00