about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
AgeCommit message (Collapse)AuthorLines
2025-06-15Idiomatic salsa use for enum variants queryLukas Wirth-76/+78
2025-06-15Merge pull request #20006 from Veykril/push-uvmuznvlwsxxLukas Wirth-213/+692
Cleanup incremental tests and verify query executions
2025-06-15Cleanup incremental testsLukas Wirth-213/+692
2025-06-15Merge pull request #19996 from LHolten/exclude-importsChayim Refael Friedman-1/+197
Add support for excluding imports from symbol search
2025-06-15Add config option to exclude imports from symbol searchLucas Holten-1/+197
2025-06-14Merge pull request #19984 from WaffleLapkin/unprefer_alignLukas Wirth-9/+13
remove `pref_align_of` intrinsic handling, rename `{min_=>}align_of{,_val}`
2025-06-13Allow lifetime repeats in macros: $($x)'a*Tadeo Kondrak-8/+56
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-13remove `pref_align_of` intrinsic handling, rename `{min_=>}align_of{,_val}`Waffle Lapkin-9/+13
2025-06-13Merge pull request #19997 from Veykril/push-xltylvqtpwzxLukas Wirth-42/+19
Remove `InternedCallableDefId`
2025-06-13Remove `InternedCallableDefId`Lukas Wirth-42/+19
It's unnecessary
2025-06-13Turn `BlockId` into a `#[salsa::tracked]`Lukas Wirth-12/+28
2025-06-13Use `ThinVec` in `ItemScope` in a couple placesLukas Wirth-19/+17
2025-06-13Bring back EMPTY item tree deduplicationLukas Wirth-16/+37
2025-06-13Merge pull request #19990 from Veykril/push-zkvrlrotmuzrLukas Wirth-8/+76
Generate annotations for macro defined items if their name is in the input
2025-06-13Generate annotations for macro defined items if their name is in the inputLukas Wirth-8/+76
2025-06-13Merge pull request #19982 from Veykril/push-uptnmqtlylsxLukas Wirth-755/+558
Simplify and optimize `ItemTree`
2025-06-13Remove unnecessary item tree query callsLukas Wirth-49/+47
2025-06-13`cargo upgrade`Lukas Wirth-23/+37
2025-06-13Remove ast ids from item tree mod itemsLukas Wirth-161/+121
2025-06-13Split mod items into small and big variantsLukas Wirth-66/+81
2025-06-13Store item tree visibilities in a thin vecLukas Wirth-2/+14
2025-06-12Merge pull request #19985 from ChayimFriedman2/proc-macro-srv-ast-idLukas Wirth-102/+96
fix: Support spans with proc macro servers from before the ast id changes
2025-06-12Support spans with proc macro servers from before the ast id changesChayim Refael Friedman-102/+96
The only thing changed is the value of the fixup ast id, so we just swap it.
2025-06-12Fix testsLukas Wirth-10/+10
2025-06-12Return item tree query results by refLukas Wirth-99/+82
2025-06-12Remove dead codeLukas Wirth-51/+35
2025-06-12Shrink `ModItem` by usizeLukas Wirth-24/+34
2025-06-12Merge pull request #19983 from ChayimFriedman2/proc-macro-eqChayim Refael Friedman-6/+52
fix: Fix comparison of proc macros
2025-06-12Fix comparison of proc macrosChayim Refael Friedman-6/+52
Comparing the TypeId is not enough, they also contain data.
2025-06-12Remove `AttrOwner`Lukas Wirth-68/+59
2025-06-12Ditch the unnecessary smallvecLukas Wirth-12/+15
2025-06-12Coalesce item tree data mapsLukas Wirth-181/+138
2025-06-12`AttrOwner` needs no `ModItem`Lukas Wirth-47/+36
2025-06-12Remove `FileItemTreeId`Lukas Wirth-181/+116
2025-06-12Remove `ItemTreeId`Lukas Wirth-86/+52
2025-06-12Merge pull request #19981 from Veykril/push-tzzunsrqqunvLukas Wirth-5/+6
fix: Do not force descend into derives for goto IDE features
2025-06-12fix: Do not force descend into derives for goto IDE featuresLukas Wirth-5/+6
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`ItemTree`'s `ItemVisibilities` has no identity, so deduplicateLukas Wirth-38/+39
2025-06-12Merge pull request #19837 from ChayimFriedman2/stable-astidLukas Wirth-1945/+2255
Provide better incrementality when items are changed
2025-06-12LRU ast id mapChayim Refael Friedman-0/+1
We can do that and it's pretty heavy.
2025-06-12Remove most of the item treeChayim Refael Friedman-443/+52
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-12Avoid referring to the item tree except in the def mapChayim Refael Friedman-955/+981
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-12Use stable AST IDsChayim Refael Friedman-556/+1230
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-12Merge pull request #19942 from ChayimFriedman2/fauxLukas Wirth-28/+26
fix: Fix completion with some attribute macros
2025-06-11hir-ty: test (the absence of) incremental trait solvingDavid Barsky-1/+87
2025-06-11Merge pull request #19973 from Veykril/push-ppltxvqvqmkkLukas Wirth-3/+9
fix: Hide dyn inlay hints for incomplete `impl`s
2025-06-11fix: Hide dyn inlay hints for incomplete `impl`sLukas Wirth-3/+9
2025-06-11Fix proc macro server handling of strings with minusesChayim Refael Friedman-31/+26
It used to decompose them thinking they were numbers.
2025-06-10Merge pull request #19964 from Wilfred/fix_typosChayim Refael Friedman-1/+1
[minor] Fix typos
2025-06-10[minor] Fix typosWilfred Hughes-1/+1