Commit graph

294178 commits

Author SHA1 Message Date
Lukas Wirth
233e1a889d
Merge pull request #20014 from Veykril/push-lsqvxunvnrqw
feat: Show what cargo metadata is doing in status
2025-06-16 16:17:48 +00:00
Lukas Wirth
13f5866e96 feat: Show what cargo metadata is doing in status 2025-06-16 18:05:44 +02:00
Laurențiu Nicola
36f2e8fff2
Merge pull request #19994 from sourcefrog/book-links
Fix some links in the book
2025-06-16 07:02:59 +00:00
Chayim Refael Friedman
c3b1543f5e
Merge pull request #20000 from tadeokondrak/lifetime-repeat-macro
Allow lifetime repeats in macros: $($x)'a*
2025-06-15 16:34:42 +00:00
Tadeo Kondrak
68d841e7d6 Use is_any_identifier in pretty_print_macro_expansion 2025-06-15 18:23:18 +02:00
Tadeo Kondrak
0339a97ad2 Fix spacing for LIFETIME_IDENT near keywords and literals in test output 2025-06-15 17:43:45 +02:00
Lukas Wirth
e557333b03
Merge pull request #20009 from Veykril/push-rvnnorzvpnqv
Optimize `pub(crate)` and `pub(self)` visibility resolution
2025-06-15 08:36:27 +00:00
Lukas Wirth
6ff82fbba6 Optimize private visibility resolution 2025-06-15 10:25:45 +02:00
Lukas Wirth
ece523c3cc Optimize pub(crate) visibility resolution 2025-06-15 10:25:45 +02:00
Lukas Wirth
bad1c639a5
Merge pull request #20008 from Veykril/push-rsnkrwyplmwr
More idiomatic salsa use
2025-06-15 08:12:11 +00:00
Lukas Wirth
8c9c8ada40 Unify assoc item visibility queries 2025-06-15 10:01:34 +02:00
Lukas Wirth
2da8d5892f Idiomatic salsa use for extern block abi query 2025-06-15 10:01:04 +02:00
Lukas Wirth
12f81939a8 Idiomatic salsa use for impl items query 2025-06-15 09:40:02 +02:00
Lukas Wirth
1b3c370c13 Replace unnecessary use of MacroDefId with MacroId 2025-06-15 09:16:45 +02:00
Lukas Wirth
a0bb8327b8
Merge pull request #20007 from Veykril/push-opqzsnwzwyvn
Idiomatic salsa use for enum variants query
2025-06-15 07:15:22 +00:00
Lukas Wirth
0d5fde22b1 Idiomatic salsa use for enum variants query 2025-06-15 09:03:44 +02:00
Lukas Wirth
d41b574e7a
Merge pull request #20006 from Veykril/push-uvmuznvlwsxx
Cleanup incremental tests and verify query executions
2025-06-15 06:25:54 +00:00
Lukas Wirth
535b9744b6 Cleanup incremental tests 2025-06-15 08:07:49 +02:00
Chayim Refael Friedman
ac79d3f487
Merge pull request #19996 from LHolten/exclude-imports
Add support for excluding imports from symbol search
2025-06-15 00:52:44 +00:00
Lucas Holten
6cf1a89dc5 Add config option to exclude imports from symbol search 2025-06-15 02:41:35 +02:00
Lukas Wirth
2ee912c2c2
Merge pull request #19984 from WaffleLapkin/unprefer_align
remove `pref_align_of` intrinsic handling, rename `{min_=>}align_of{,_val}`
2025-06-14 05:13:06 +00:00
Tadeo Kondrak
3f4a23e5a8 Allow lifetime repeats in macros: $($x)'a*
This works in rustc. This change isn't motivated by any real code.
I just learned about it and decided to see why it doesn't work with
rust-analyzer.
2025-06-13 18:13:01 -06:00
Waffle Lapkin
cea73e95a8
remove pref_align_of intrinsic handling, rename {min_=>}align_of{,_val} 2025-06-13 21:31:46 +02:00
Lukas Wirth
0a74d46724
Merge pull request #19997 from Veykril/push-xltylvqtpwzx
Remove `InternedCallableDefId`
2025-06-13 15:41:49 +00:00
Lukas Wirth
e7fbbaf392
Merge pull request #19995 from Veykril/push-zpyyzqqpywno
Turn `BlockId` into a `#[salsa::tracked]`
2025-06-13 15:41:44 +00:00
Lukas Wirth
71f6663521 Remove InternedCallableDefId
It's unnecessary
2025-06-13 17:30:50 +02:00
Lukas Wirth
82076c1571 Turn BlockId into a #[salsa::tracked] 2025-06-13 17:30:04 +02:00
Martin Pool
1bdd12ddc1 Make the URL a hyperlink 2025-06-13 07:36:51 -07:00
Martin Pool
6438b31117 Fix link to the contribution guide 2025-06-13 07:35:34 -07:00
Lukas Wirth
e01f53fd56
Merge pull request #19992 from Veykril/push-uxpqwrxqtlvm
Use `ThinVec` in `ItemScope` in a couple places
2025-06-13 13:45:31 +00:00
Lukas Wirth
2eea0f8c05 Use ThinVec in ItemScope in a couple places 2025-06-13 15:34:03 +02:00
Lukas Wirth
44092665c6
Merge pull request #19991 from Veykril/push-kzqoxzmxqnkl
perf: Bring back `EMPTY` item tree deduplication
2025-06-13 13:12:19 +00:00
Lukas Wirth
dd7f93ef77 Bring back EMPTY item tree deduplication 2025-06-13 14:51:23 +02:00
Lukas Wirth
e1e7f59ef9
Merge pull request #19990 from Veykril/push-zkvrlrotmuzr
Generate annotations for macro defined items if their name is in the input
2025-06-13 11:41:26 +00:00
Lukas Wirth
4b61ff7237 Generate annotations for macro defined items if their name is in the input 2025-06-13 13:30:09 +02:00
Lukas Wirth
777fdacb54
Merge pull request #19982 from Veykril/push-uptnmqtlylsx
Simplify and optimize `ItemTree`
2025-06-13 11:16:24 +00:00
Lukas Wirth
63e1707119 Remove unnecessary item tree query calls 2025-06-13 13:05:52 +02:00
Lukas Wirth
43d86181c0
Merge pull request #19989 from Veykril/push-xrqwoukkltnm
`cargo update` and `cargo upgrade`
2025-06-13 08:19:08 +00:00
Lukas Wirth
05b7cdcf8e cargo upgrade 2025-06-13 10:08:20 +02:00
Lukas Wirth
68f6a23c58 cargo update
Updating adler2 v2.0.0 -> v2.0.1
    Updating anyhow v1.0.97 -> v1.0.98
    Updating bitflags v2.9.0 -> v2.9.1
    Updating borsh v1.5.5 -> v1.5.7
    Updating boxcar v0.2.12 -> v0.2.13
    Updating camino v1.1.9 -> v1.1.10
    Updating cc v1.2.16 -> v1.2.26
    Updating cfg-if v1.0.0 -> v1.0.1
    Updating flate2 v1.1.1 -> v1.1.2
    Updating foldhash v0.1.4 -> v0.1.5
    Updating getrandom v0.2.15 -> v0.2.16
    Updating hashbrown v0.15.2 -> v0.15.4
    Updating hermit-abi v0.3.9 -> v0.5.2
    Updating icu_collections v1.5.0 -> v2.0.0
      Adding icu_locale_core v2.0.0
    Removing icu_locid v1.5.0
    Removing icu_locid_transform v1.5.0
    Removing icu_locid_transform_data v1.5.0
    Updating icu_normalizer v1.5.0 -> v2.0.0
    Updating icu_normalizer_data v1.5.0 -> v2.0.0
    Updating icu_properties v1.5.1 -> v2.0.1
    Updating icu_properties_data v1.5.0 -> v2.0.1
    Updating icu_provider v1.5.0 -> v2.0.0
    Removing icu_provider_macros v1.5.0
    Updating idna_adapter v1.2.0 -> v1.2.1
    Updating kqueue v1.0.8 -> v1.1.1
    Updating libloading v0.8.7 -> v0.8.8
    Updating libmimalloc-sys v0.1.40 -> v0.1.42
    Updating litemap v0.7.5 -> v0.8.0
    Updating lock_api v0.4.12 -> v0.4.13
    Updating log v0.4.26 -> v0.4.27
    Updating memchr v2.7.4 -> v2.7.5
    Updating mimalloc v0.1.44 -> v0.1.46
    Updating miniz_oxide v0.8.5 -> v0.8.9
    Updating mio v1.0.3 -> v1.0.4
    Updating num_cpus v1.16.0 -> v1.17.0
    Updating once_cell v1.21.1 -> v1.21.3
    Updating parking_lot v0.12.3 -> v0.12.4
    Updating parking_lot_core v0.9.10 -> v0.9.11
    Updating portable-atomic v1.11.0 -> v1.11.1
      Adding potential_utf v0.1.2
    Updating proc-macro2 v1.0.94 -> v1.0.95
    Updating redox_syscall v0.5.10 -> v0.5.13
    Updating rustc-demangle v0.1.24 -> v0.1.25
    Updating rustc_apfloat v0.2.2+llvm-462a31f5a5ab -> v0.2.3+llvm-462a31f5a5ab
    Updating serde_spanned v0.6.8 -> v0.6.9
    Updating smallvec v1.14.0 -> v1.15.1
    Updating syn v2.0.100 -> v2.0.103
    Updating synstructure v0.13.1 -> v0.13.2
    Updating tenthash v1.0.0 -> v1.1.0
    Updating thread_local v1.1.8 -> v1.1.9
    Updating time v0.3.40 -> v0.3.41
    Updating time-macros v0.2.21 -> v0.2.22
    Updating tinystr v0.7.6 -> v0.8.1
    Updating toml v0.8.20 -> v0.8.23
    Updating toml_datetime v0.6.8 -> v0.6.11
    Updating toml_edit v0.22.24 -> v0.22.27
      Adding toml_write v0.1.2
    Updating tracing-attributes v0.1.28 -> v0.1.29
    Updating tracing-core v0.1.33 -> v0.1.34
    Removing utf16_iter v1.0.5
    Updating wasi v0.11.0+wasi-snapshot-preview1 -> v0.11.1+wasi-snapshot-preview1
    Updating windows v0.61.1 -> v0.61.3
    Updating windows-core v0.61.0 -> v0.61.2
    Updating windows-future v0.2.0 -> v0.2.1
    Updating windows-link v0.1.1 -> v0.1.3
    Updating windows-result v0.3.2 -> v0.3.4
    Updating windows-strings v0.4.0 -> v0.4.2
      Adding windows-sys v0.60.2
    Updating windows-targets v0.53.0 -> v0.53.2
      Adding windows-threading v0.1.0
    Updating winnow v0.7.3 -> v0.7.11
    Removing write16 v1.0.0
    Updating writeable v0.5.5 -> v0.6.1
    Updating yoke v0.7.5 -> v0.8.0
    Updating yoke-derive v0.7.5 -> v0.8.0
      Adding zerotrie v0.2.2
    Updating zerovec v0.10.4 -> v0.11.2
    Updating zerovec-derive v0.10.3 -> v0.11.1
2025-06-13 09:46:52 +02:00
Lukas Wirth
4f1a07ca58 Remove ast ids from item tree mod items 2025-06-13 08:47:25 +02:00
Lukas Wirth
e39c1e971b Split mod items into small and big variants 2025-06-13 08:24:50 +02:00
Lukas Wirth
d052450526 Store item tree visibilities in a thin vec 2025-06-13 08:09:57 +02:00
Laurențiu Nicola
647705e880
Merge pull request #19988 from Kobzol/fix-label-link
Fix link to good first issues
2025-06-13 06:06:39 +00:00
Jakub Beránek
f6b64d1533
Fix link to good first issues 2025-06-13 07:55:07 +02:00
Lukas Wirth
a30f16706a
Merge pull request #19985 from ChayimFriedman2/proc-macro-srv-ast-id
fix: Support spans with proc macro servers from before the ast id changes
2025-06-12 13:26:03 +00:00
Chayim Refael Friedman
af66309742 Support spans with proc macro servers from before the ast id changes
The only thing changed is the value of the fixup ast id, so we just swap it.
2025-06-12 16:08:48 +03:00
Lukas Wirth
4b3ad4bd10 Fix tests 2025-06-12 14:01:46 +02:00
Lukas Wirth
4d811e34cc Return item tree query results by ref 2025-06-12 13:35:43 +02:00
Lukas Wirth
b1c86333b7 Remove dead code 2025-06-12 13:35:43 +02:00