Commit graph

283845 commits

Author SHA1 Message Date
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
David Barsky
12dc311eb8 analysis-stats: cleanup printing of some workspace stats 2025-03-24 09:59:51 -07:00
David Barsky
44a5b14ca2 analysis-stats: add UsizeWithUnderscore for readability of large numbers 2025-03-24 09:59:51 -07:00
David Barsky
efe3fe76ea analysis-stats: always print source stats 2025-03-24 09:59:51 -07:00
David Barsky
22624ade48 analysis-stats: emit lines of code and item tree counts for workspace; dependencies 2025-03-24 09:59:51 -07:00
Lukas Wirth
9c02e0baa1
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
2ae0973516 refactor: Replace custom ThinVec with thin-vec crate 2025-03-24 13:44:13 +01:00
Lukas Wirth
06fdb96a8b
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
19ac6ce67a
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
4161aba345
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
7f9116effc
Merge pull request #19430 from Veykril/push-wknpypxuyrsz
chore: Bump dependencies
2025-03-24 06:48:24 +00:00
Lukas Wirth
a41c4dcddd fix: Fix closure return inlayhints using macro ranges 2025-03-24 07:45:31 +01:00
Lukas Wirth
6b9625dc0a chore: Cleanup vscode extension output channels 2025-03-24 07:44:46 +01:00
Laurențiu Nicola
e2b9aab8a3 Add missing syn feature 2025-03-24 08:40:04 +02:00
Laurențiu Nicola
c1f5597210 Drop rustc_hashes dependency 2025-03-24 08:28:52 +02:00
Prajwal S N
5100bfd57a
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
6fc2b1db36 Use zip/deflate-flate2 to avoid BSL-1.0 dep 2025-03-23 13:56:55 +02:00
Lukas Wirth
84340b33f9
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-23 07:49:19 +00:00
Lukas Wirth
d96df9d438 chore: Bump dependencies 2025-03-23 08:46:10 +01:00
Lukas Wirth
3e2b75dd3e
Merge pull request #19429 from Veykril/push-mnosqlpsysns
chore: Remove unused dependencies
2025-03-23 07:29:29 +00:00
Lukas Wirth
9b1924df89 chore: Remove unused dependencies 2025-03-23 08:08:17 +01:00
Lukas Wirth
2aa893313a
Merge pull request #19419 from ShoyuVanilla/issue-15132
Render layout and other extra information on hovering `Self`
2025-03-22 17:56:21 +00:00
Lukas Wirth
d11dcb46d0
Merge pull request #19416 from ShoyuVanilla/issue-15037
fix: Handle multiple `#[repr(..)]` attrs correctly
2025-03-22 17:53:24 +00:00
Lukas Wirth
b0aaecb7aa
Merge pull request #19420 from BenjaminBrienen/doc-fixes
Improve contributing/README.md
2025-03-22 17:36:29 +00:00