Commit graph

283868 commits

Author SHA1 Message Date
Lukas Wirth
9c5cdfe30a
Merge pull request #19514 from BenjaminBrienen/color-brackets-string
Fix color brackets in string context
2025-04-04 11:15:23 +00:00
BenjaminBrienen
3aa1b607bd fix language-configuration.json 2025-04-04 00:26:57 +02:00
Laurențiu Nicola
8408e2810b
Merge pull request #19509 from snprajwal/remove-assistid-none
fix(ide-assists): remove `AssistKind::None`
2025-04-03 15:35:11 +00:00
Prajwal S N
59240a9755
feat(proc-macro-srv): support metadata version 10
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-03 14:58:59 +05:30
Prajwal S N
3c573ca104
fix(ide-assists): remove AssistKind::None
This was being used by a single assist, which qualifies under the "refactor"
kind. The variant has been removed, and all usages updated accordingly.

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-03 14:38:31 +05:30
Lukas Wirth
280c133743
Merge pull request #19494 from Veykril/push-uzmzppouxuvr
chore: Remove unnecessary `Arc` clones
2025-04-01 11:29:33 +00:00
Lukas Wirth
73d8cd8f1c
Merge pull request #19496 from Veykril/push-zuwsrswwtzsu
chore: Replace some `invoke`s with `invoke_actual` in hir-ty
2025-04-01 11:24:41 +00:00
Lukas Wirth
6e8a96ea98 chore: Remove unnecessary Arc clones 2025-04-01 13:18:37 +02:00
Lukas Wirth
03941165cd chore: Replace some invokes with invoke_actual in hir-ty 2025-04-01 13:13:20 +02:00
Lukas Wirth
fabb6fdc4f
Merge pull request #19493 from Veykril/push-tlwonkmlonqv
chore: Disable rust-cache in CI
2025-04-01 07:17:40 +00:00
Lukas Wirth
b0fbec6362 chore: Disable rust-cache in CI
It doesn't actually work with merge groups ...
2025-04-01 08:46:53 +02:00
Chayim Refael Friedman
6698106f1f
Merge pull request #19492 from ChayimFriedman2/experiment
Avoid relying on `block_def_map()` needlessly
2025-04-01 04:08:26 +00:00
Chayim Refael Friedman
ad7c4cf9b3 Avoid relying on block_def_map() needlessly
We can compute the wanted information from the block's interned data.
2025-04-01 06:58:21 +03:00
Chayim Refael Friedman
409e0ac4cc
Merge pull request #19490 from rossdylan/fix-unicode-progress-report
fix: Fix panic in progress due to splitting unicode incorrectly
2025-04-01 01:44:46 +00:00
Ross Delinger
f8a9c92cae fix: Fix panic in progress due to splitting unicode incorrectly 2025-03-31 17:32:02 -07:00
Lukas Wirth
bca0d609b4
Merge pull request #19485 from Veykril/push-mqlnvzkuplnm
chore: Clean CI a bit
2025-03-31 12:43:21 +00:00
Lukas Wirth
73a3d4ac13 chore: Clean CI a bit 2025-03-31 14:33:11 +02:00
Lukas Wirth
03fee919d7
Merge pull request #19484 from Veykril/push-ttvnzlkvwssk
fix: Fix new nightly lints
2025-03-31 11:45:11 +00:00
Lukas Wirth
ed75e2a79a fix: Fix new nightly lints 2025-03-31 13:27:54 +02:00
Lukas Wirth
8c7aa53a59
Merge pull request #19482 from Veykril/push-orrorupvlqpt
fix: Cleanup param name inlay hint filtering
2025-03-31 07:57:59 +00:00
Lukas Wirth
a451b04d01 fix: Cleanup param name inlay hint filtering 2025-03-31 09:40:57 +02:00
Laurențiu Nicola
a2083a54e5
Merge pull request #19475 from inflation/push-xrwpqzsqxtuy
Fix debug sourceFileMap when using cppvsdbg
2025-03-29 13:48:59 +00:00
Inflation
814d7c37d4
Fix debug sourceFileMap when using cppvsdbg
- Fix #18782
2025-03-29 21:32:51 +08:00
Lukas Wirth
281ca97ba3
Merge pull request #19474 from Veykril/push-nokkzzvwynnt
fix: Fix, clarify and require a value for `proc_macro_cwd` of `CrateData`
2025-03-29 07:24:39 +00:00
Lukas Wirth
03cab8680b fix: Fix, clarify and require a value for proc_macro_cwd of CrateData 2025-03-29 08:08:48 +01:00
Lukas Wirth
8244095473
Merge pull request #19375 from ChayimFriedman2/do-not-complete
feat: Allow crate authors to control completion of their things
2025-03-28 09:06:19 +00:00
David Barsky
c2ce9a9d7d
Merge pull request #19466 from ChayimFriedman2/bug-coherence
fix: Fix a bug in orphan rules calculation
2025-03-28 02:53:14 +00:00
Chayim Refael Friedman
14410b6369 Fix a bug in orphan rules calculation
Where a fundamental type applied twice wasn't considered local.
2025-03-28 05:37:29 +03:00
Chayim Refael Friedman
87325a41b5 Allow crate authors to control completion of their things
Via the new `#[rust_analyzer::completions(...)]` attribute.

Also fix a bug with existing settings for that where the paths wouldn't resolve correctly.
2025-03-27 14:01:26 +02:00
Lukas Wirth
5aeb82f667
Merge pull request #19460 from Veykril/push-krmvxxvrlmyx
fix: Fix `format_args` lowering using wrong integer suffix
2025-03-27 08:12:29 +00:00
Lukas Wirth
f3f6f86844
Merge pull request #19459 from Veykril/push-swywyozvsqow
refactor: Shuffle some unsafety around in proc-macro-srv
2025-03-27 07:57:57 +00:00
Lukas Wirth
27ece57615 fix: Fix format_args lowering using wrong integer suffix 2025-03-27 08:56:15 +01:00
Lukas Wirth
217eccfc3a refactor: Shuffle some unsafety around in proc-macro-srv 2025-03-27 08:41:53 +01:00
Lukas Wirth
dda37ce056
Merge pull request #19457 from Veykril/push-xpmluxlzprpy
chore: Remove salsa dependency from proc-macro server again
2025-03-27 07:28:39 +00:00
Lukas Wirth
ad913a4061 chore: Remove salsa dependency from proc-macro server again 2025-03-27 07:27:57 +01:00
Lukas Wirth
085b4d5faf
Merge pull request #19451 from Veykril/push-tuqmmvkrtpzl
refactor: Use MEDIUM durability for crate-graph changes, high for library source files
2025-03-26 06:02:56 +00:00
Lukas Wirth
2043e36a88 refactor: Use MEDIUM durability for crate-graph changes, high for library source files
The idea here is that the crate graph may change over time, but library source file contents *never* will (or really never should). Disconnecting the two means that queries that depend on library sources will not need to re-validatewhen the crate graph changes (unless they depend on the crate graph in some capacity).
2025-03-26 06:46:49 +01:00
Lukas Wirth
65f8181523
Merge pull request #19433 from snprajwal/fix-replace-let-else
fix(ide-assists): `let else` to `if let else`
2025-03-25 13:20:12 +00:00
Lukas Wirth
e142e4e9c9
Merge pull request #19450 from Veykril/push-vwrmzqmnvlxk
minor: Simplify impl-ty parse validation
2025-03-25 09:31:34 +00:00
Lukas Wirth
a0f47f070e minor: Simplify impl-ty parse validation 2025-03-25 10:14:40 +01:00
Lukas Wirth
69471d6f0f
Merge pull request #19388 from Veykril/push-oqysrnttwywu
feat: parse `unsafe` record fields
2025-03-25 08:12:20 +00:00
Lukas Wirth
d85bffdba4 feat: parse unsafe record fields 2025-03-25 08:55:31 +01:00
Lukas Wirth
c7509abf6f
Merge pull request #19347 from Shourya742/2025-03-13-add-diagnostic-for-dnagling-impl-with-lifetime
Add diagnostic for missing ambiguity error for impl trait
2025-03-25 07:49:45 +00:00
Lukas Wirth
51d3d8cfb1
Merge pull request #19448 from Veykril/push-lkmyospxqrzz
ci: Require miri step
2025-03-25 07:26:49 +00:00
Lukas Wirth
8d076eca01 ci: Require miri step 2025-03-25 08:10:27 +01:00
Lukas Wirth
ef44eaee06
Merge pull request #19446 from Veykril/push-olslsvoxlxwk
ci: run `intern` tests via `cargo miri`
2025-03-25 06:42:40 +00:00
Lukas Wirth
f9307c1370 ci: run intern tests via cargo miri 2025-03-25 07:26:43 +01:00
Lukas Wirth
83a97bbdbf
Merge pull request #19359 from davidbarsky/davidbarsky/more-stats-in-analysis-stats
analysis-stats: emit lines of code and item tree counts for workspace; dependencies
2025-03-25 06:08:06 +00:00
David Barsky
0add1a492f analysis-stats: redesign printing of item tree stats 2025-03-24 14:04:07 -07:00
David Barsky
fe192932a9 analysis-stats: expose and print some limited statistics from hir-def 2025-03-24 09:59:51 -07:00