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
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
Lukas Wirth
724537f31f
Shrink ModItem by usize
2025-06-12 13:35:43 +02:00
Chayim Refael Friedman
40b743de04
Merge pull request #19983 from ChayimFriedman2/proc-macro-eq
...
fix: Fix comparison of proc macros
2025-06-12 10:42:21 +00:00
Chayim Refael Friedman
6a0f4e59a8
Fix comparison of proc macros
...
Comparing the TypeId is not enough, they also contain data.
2025-06-12 13:31:55 +03:00
Lukas Wirth
dfa9d68270
Remove AttrOwner
2025-06-12 12:09:41 +02:00
Lukas Wirth
762efdfce8
Ditch the unnecessary smallvec
2025-06-12 11:27:55 +02:00
Lukas Wirth
e51cad90ed
Coalesce item tree data maps
2025-06-12 11:21:26 +02:00
Lukas Wirth
834579f148
AttrOwner needs no ModItem
2025-06-12 11:05:18 +02:00
Lukas Wirth
a265cdd10e
Remove FileItemTreeId
2025-06-12 10:25:06 +02:00
Lukas Wirth
d4a3719617
Remove ItemTreeId
2025-06-12 10:25:06 +02:00
Lukas Wirth
80dd145f6f
Merge pull request #19981 from Veykril/push-tzzunsrqqunv
...
fix: Do not force descend into derives for goto IDE features
2025-06-12 07:48:49 +00:00
Lukas Wirth
e7ae39046f
Merge pull request #19980 from Veykril/push-qsuttvtvtytr
...
`ItemTree`'s `ItemVisibilities` has no identity, so deduplicate
2025-06-12 07:44:57 +00:00
Lukas Wirth
2972e77d38
fix: Do not force descend into derives for goto IDE features
...
Doing so can cause us to duplicate navigation targets for the same ranges which breaks convenience features of some editors where go to def can trigger find all references
2025-06-12 09:37:45 +02:00
Lukas Wirth
c1d085975b
ItemTree's ItemVisibilities has no identity, so deduplicate
2025-06-12 09:14:43 +02:00
Lukas Wirth
fa7a6c1a46
Merge pull request #19837 from ChayimFriedman2/stable-astid
...
Provide better incrementality when items are changed
2025-06-12 06:09:01 +00:00
Chayim Refael Friedman
1babfe7a82
LRU ast id map
...
We can do that and it's pretty heavy.
2025-06-12 08:50:43 +03:00
Chayim Refael Friedman
c09ac19365
Ignore ast id hashes in typos check
2025-06-12 08:50:43 +03:00
Chayim Refael Friedman
bb5f1bfa13
Remove most of the item tree
...
I'm joking, but now that the def map is the only thing that uses the item tree, we can remove a lot of things from it that aren't needed for the def map.
2025-06-12 08:50:43 +03:00
Chayim Refael Friedman
cd1298a279
Avoid referring to the item tree except in the def map
...
Item tree IDs are very unstable (adding an item of a kind invalidates all following items of the same kind). Instead use ast ids, which, since the previous commit, are pretty stable.
2025-06-12 08:50:40 +03:00
Chayim Refael Friedman
8e06cef0be
Use stable AST IDs
...
Instead of simple numbering, we hash important bits, like the name of the item.
This will allow for much better incrementality, e.g. when you add an item. Currently, this invalidates the IDs of all following items, which invalidates pretty much everything.
2025-06-12 08:47:22 +03:00
Lukas Wirth
499e0dd622
Merge pull request #19942 from ChayimFriedman2/faux
...
fix: Fix completion with some attribute macros
2025-06-12 05:44:34 +00:00
Chayim Refael Friedman
75ab15bcde
Merge pull request #19979 from rust-lang/dependabot/npm_and_yarn/editors/code/brace-expansion-1.1.12
...
chore(deps-dev): bump brace-expansion from 1.1.11 to 1.1.12 in /editors/code
2025-06-12 05:34:17 +00:00
dependabot[bot]
af079f827e
chore(deps-dev): bump brace-expansion in /editors/code
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.12
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-11 21:01:40 +00:00
Chayim Refael Friedman
b0055c9fff
Merge pull request #19975 from davidbarsky/davidbarsky/test-trait-solve-invalidation
...
hir-ty: test incremental trait solving
2025-06-11 19:49:05 +00:00
David Barsky
fb169ff8a7
hir-ty: test (the absence of) incremental trait solving
2025-06-11 12:12:58 -04:00
Lukas Wirth
6e5439b8f9
Merge pull request #19973 from Veykril/push-ppltxvqvqmkk
...
fix: Hide dyn inlay hints for incomplete `impl`s
2025-06-11 10:01:01 +00:00
Lukas Wirth
ac4e365776
fix: Hide dyn inlay hints for incomplete impls
2025-06-11 11:49:44 +02:00
Lukas Wirth
1f1cb5db84
Merge pull request #19970 from ChayimFriedman2/proc-macro-srv-minus
...
fix: Fix proc macro server handling of strings with minuses
2025-06-11 06:08:54 +00:00
Chayim Refael Friedman
3c10e1a5f0
Fix proc macro server handling of strings with minuses
...
It used to decompose them thinking they were numbers.
2025-06-11 01:03:35 +03:00
Chayim Refael Friedman
27472476be
Merge pull request #19964 from Wilfred/fix_typos
...
[minor] Fix typos
2025-06-10 12:32:44 +00:00