33975 Commits

Author SHA1 Message Date
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
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
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
Lukas Wirth
fbad4e6850
Merge pull request #19448 from Veykril/push-lkmyospxqrzz
ci: Require miri step
2025-03-25 07:26:49 +00:00
Lukas Wirth
7a1e9c4b0c ci: Require miri step 2025-03-25 08:10:27 +01:00
Lukas Wirth
d3aeddfb77
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
c96421ecf4 ci: run intern tests via cargo miri 2025-03-25 07:26:43 +01:00
Lukas Wirth
2afe50bef2
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
19b62b2778 analysis-stats: redesign printing of item tree stats 2025-03-24 14:04:07 -07:00
David Barsky
7d050feb5f analysis-stats: expose and print some limited statistics from hir-def 2025-03-24 09:59:51 -07:00
David Barsky
288d78353f analysis-stats: cleanup printing of some workspace stats 2025-03-24 09:59:51 -07:00
David Barsky
5ad27fdafb analysis-stats: add UsizeWithUnderscore for readability of large numbers 2025-03-24 09:59:51 -07:00
David Barsky
756c42409c analysis-stats: always print source stats 2025-03-24 09:59:51 -07:00
David Barsky
6af729166e analysis-stats: emit lines of code and item tree counts for workspace; dependencies 2025-03-24 09:59:51 -07:00
Lukas Wirth
3ed13b4a91
Merge pull request #19440 from Veykril/push-lotzuulstwpw
refactor: Replace custom `ThinVec` with `thin-vec` crate
2025-03-24 13:00:50 +00:00
Lukas Wirth
dcd742301e refactor: Replace custom ThinVec with thin-vec crate 2025-03-24 13:44:13 +01:00
Lukas Wirth
dd2354c985
Merge pull request #19435 from Veykril/push-owstqqlrtsko
fix: Fix closure return inlayhints using macro ranges
2025-03-24 07:00:54 +00:00
Lukas Wirth
d8792eef16
Merge pull request #19422 from Veykril/push-xlmxtopzlmxm
chore: Cleanup vscode extension output channels
2025-03-24 06:58:46 +00:00
Laurențiu Nicola
fcbba4ec72
Merge pull request #19436 from lnicola/rm-rustc-hashes
minor: drop `rustc_hashes` dependency, add `syn` feature
2025-03-24 06:56:05 +00:00
Lukas Wirth
d9b08e4431
Merge pull request #19430 from Veykril/push-wknpypxuyrsz
chore: Bump dependencies
2025-03-24 06:48:24 +00:00
Lukas Wirth
c760360abf fix: Fix closure return inlayhints using macro ranges 2025-03-24 07:45:31 +01:00
Lukas Wirth
78f4146dc7 chore: Cleanup vscode extension output channels 2025-03-24 07:44:46 +01:00
Laurențiu Nicola
7e360691a2 Add missing syn feature 2025-03-24 08:40:04 +02:00
Laurențiu Nicola
7af69a1952 Drop rustc_hashes dependency 2025-03-24 08:28:52 +02:00
Prajwal S N
4fdb7dcac0
fix(ide-assists): let else to if let else
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-24 01:08:14 +05:30
Laurențiu Nicola
1259cc52c6 Use zip/deflate-flate2 to avoid BSL-1.0 dep 2025-03-23 13:56:55 +02:00
Lukas Wirth
37acea8052
Merge pull request #19400 from Shourya742/2025-03-20-fix-syntax-highlighting
Fix missing syntax highlighting for `&raw const` / `&raw mut` in all files.
2025-03-24
2025-03-23 07:49:19 +00:00
Lukas Wirth
500ea05aef chore: Bump dependencies 2025-03-23 08:46:10 +01:00