BenjaminBrienen
2462624a7d
prefer default over new
2025-04-04 15:49:50 +02:00
Prajwal S N
865681d779
feat(project-model): provide flag for no deps
...
A Cargo project can now be built without any dependency metadata being fetched.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-04 18:57:10 +05:30
Prajwal S N
72c7cd3869
chore: clean up some FIXMEs
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-04 17:40:56 +05:30
Lukas Wirth
6ca780700d
Merge pull request #19514 from BenjaminBrienen/color-brackets-string
...
Fix color brackets in string context
2025-04-04 11:15:23 +00:00
BenjaminBrienen
25c732e9d4
fix language-configuration.json
2025-04-04 00:26:57 +02:00
Laurențiu Nicola
0d64633d31
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
094407aba4
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
e02d76aa61
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
Chayim Refael Friedman
3953b604ce
Fix a bug in MBE expansion that arose from incorrect fixing of an older bug in MBE
...
Specifically, #18744 was the PR that was supposed to fix the old bug, but it fixed it incorrectly (and didn't add a test!) The underlying reason was that we marked metavariables in expansions as joint if they were joint in the macro call, which is incorrect.
This wrong fix causes other bug, #19497 , which this PR fixes by removing the old (incorrect) fix.
2025-04-01 21:05:51 +03:00
Lukas Wirth
c7845a6d70
Merge pull request #19494 from Veykril/push-uzmzppouxuvr
...
chore: Remove unnecessary `Arc` clones
2025-04-01 11:29:33 +00:00
Lukas Wirth
f1551a94ef
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
1c7f253ec9
chore: Remove unnecessary Arc
clones
2025-04-01 13:18:37 +02:00
Lukas Wirth
bcc8e3a0b6
chore: Replace some invoke
s with invoke_actual
in hir-ty
2025-04-01 13:13:20 +02:00
Lukas Wirth
df0174e988
Merge pull request #19493 from Veykril/push-tlwonkmlonqv
...
chore: Disable rust-cache in CI
2025-04-01 07:17:40 +00:00
Lukas Wirth
b2801f9f11
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
cdcadb4265
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
2d99b5ead5
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
082ebaadae
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
1b49b41248
fix: Fix panic in progress due to splitting unicode incorrectly
2025-03-31 17:32:02 -07:00
Lukas Wirth
8a84c2bc28
Merge pull request #19485 from Veykril/push-mqlnvzkuplnm
...
chore: Clean CI a bit
2025-03-31 12:43:21 +00:00
Lukas Wirth
1ab2f42529
chore: Clean CI a bit
2025-03-31 14:33:11 +02:00
Lukas Wirth
5308b23273
Merge pull request #19484 from Veykril/push-ttvnzlkvwssk
...
fix: Fix new nightly lints
2025-03-31 11:45:11 +00:00
Lukas Wirth
1e1571e1c8
fix: Fix new nightly lints
2025-03-31 13:27:54 +02:00
Lukas Wirth
00191d8e91
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
2b382eb772
fix: Cleanup param name inlay hint filtering
2025-03-31 09:40:57 +02:00
Laurențiu Nicola
fb133c8c80
Merge pull request #19475 from inflation/push-xrwpqzsqxtuy
...
Fix debug sourceFileMap when using cppvsdbg
2025-03-31
2025-03-29 13:48:59 +00:00
Inflation
375386ea93
Fix debug sourceFileMap when using cppvsdbg
...
- Fix #18782
2025-03-29 21:32:51 +08:00
Lukas Wirth
a73a37a757
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
faf1b49a9a
fix: Fix, clarify and require a value for proc_macro_cwd
of CrateData
2025-03-29 08:08:48 +01:00
Hegui Dai
e3ec43319a
update test
2025-03-28 18:28:56 +08:00
Hegui Dai
307cd68fc6
move "impl<> for <>" and test about it
2025-03-28 18:25:32 +08:00
Lukas Wirth
2e1ff255ae
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
11c9c4d207
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
246d678d77
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
7b584ef9bf
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
5bbf2ce419
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
1fb465fa5e
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
9a5a11fb30
fix: Fix format_args
lowering using wrong integer suffix
2025-03-27 08:56:15 +01:00
Lukas Wirth
c6d3c4fc39
refactor: Shuffle some unsafety around in proc-macro-srv
2025-03-27 08:41:53 +01:00
Lukas Wirth
d6b9261fed
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
7b9e0911b5
chore: Remove salsa dependency from proc-macro server again
2025-03-27 07:27:57 +01:00
Lukas Wirth
042e6d8efb
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
454e4be40d
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
Conrad Irwin
498633ed97
Tidy up drop glue notification
...
This combines the memory layout and drop information on one line,
and makes the wording more succinct.
Closes #19410
2025-03-25 20:24:32 -06:00
Lukas Wirth
62e7d9f0fc
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
b057d82104
Merge pull request #19450 from Veykril/push-vwrmzqmnvlxk
...
minor: Simplify impl-ty parse validation
2025-03-25 09:31:34 +00:00
Lukas Wirth
389323ca09
minor: Simplify impl-ty parse validation
2025-03-25 10:14:40 +01:00
Lukas Wirth
749fde9017
Merge pull request #19388 from Veykril/push-oqysrnttwywu
...
feat: parse `unsafe` record fields
2025-03-25 08:12:20 +00:00
Lukas Wirth
452e2ca031
feat: parse unsafe
record fields
2025-03-25 08:55:31 +01:00
Lukas Wirth
ed7e25a0c0
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