rust-analyzer/crates
Chayim Refael Friedman 56fb415ba7 Don't allow duplicate crates in the all_crates list
For some reason we had them in some projects, I'm not sure why. But this caused cache priming to appear stuck - because it uses a set of crate IDs for the actual work, but for the number of crates to index it just uses `db.all_crates().len()`.
2025-05-14 21:38:40 +03:00
..
base-db Don't allow duplicate crates in the all_crates list 2025-05-14 21:38:40 +03:00
cfg shrink_to_fit() in more places 2025-04-25 10:55:12 +03:00
edition chore: Bump Edition::CURRENT to 2024 2025-03-17 12:29:19 +01:00
hir check module path inner or outer 2025-05-07 00:36:17 +09:00
hir-def Don't panic on some weird code 2025-05-06 10:54:35 +03:00
hir-expand add assert to check ast_index smaller than INNER_ATTR_SET_BIT 2025-05-08 23:37:47 +09:00
hir-ty Don't panic on some weird code 2025-05-06 10:54:35 +03:00
ide extract function: doc_attributes to find def from inner doc 2025-05-07 03:12:19 +09:00
ide-assists Merge pull request #19747 from Veykril/push-kqxvxrxozswr 2025-05-05 13:18:20 +00:00
ide-completion Fix postfix snippets duplicating derefs 2025-05-08 11:44:38 +03:00
ide-db Merge pull request #19507 from Hmikihiro/fix_module_doc_links 2025-05-08 16:34:35 +00:00
ide-diagnostics Make diagnostics experimental by default 2025-05-09 16:15:48 +02:00
ide-ssr Make HirFileId, EditionedFileId and macro files Salsa struct 2025-04-19 22:10:52 +03:00
intern remove a couple of clones 2025-05-01 11:41:42 +02:00
load-cargo refactor: Remove unnecessary AsAny trait 2025-05-05 16:42:17 +02:00
mbe minor: Add a mbe test for parsing negative literals 2025-05-05 12:10:48 +02:00
parser fix: Improve parser recovery a bit 2025-04-30 16:40:01 +02:00
paths cargo fmt 2025-03-15 21:32:01 +01:00
proc-macro-api Adjust for salsa::Id::from_u32() being unsafe 2025-04-22 15:19:35 +03:00
proc-macro-srv fix: Fix move_bounds assists not working for lifetimes 2025-05-05 15:07:36 +02:00
proc-macro-srv-cli chore: Remove salsa dependency from proc-macro server again 2025-03-27 07:27:57 +01:00
profile Fix signature of libc memory usage function on Linux 2025-04-16 16:56:45 +03:00
project-model Support environment variable CARGO_MANIFEST_PATH. 2025-05-05 22:13:48 +02:00
query-group-macro remove a couple of clones 2025-05-01 11:41:42 +02:00
rust-analyzer Add a --num-threads to the prime-caches CLI command 2025-05-05 23:55:11 +03:00
span Update salsa 2025-04-29 19:26:19 +02:00
stdx Cleanup cfg check handling in expression store lowering 2025-04-29 11:44:11 +02:00
syntax fix: Fix move_bounds assists not working for lifetimes 2025-05-05 15:07:36 +02:00
syntax-bridge Preallocate parser::Input 2025-04-25 17:18:14 +03:00
test-fixture refactor: Remove unnecessary AsAny trait 2025-05-05 16:42:17 +02:00
test-utils Merge pull request #19657 from ChayimFriedman2/better-offset-of 2025-04-22 13:28:34 +00:00
toolchain allow using null to unset an environment variable 2025-04-19 12:15:22 -04:00
tt minor: Add more proc-macro tests for parsing negative literals 2025-05-05 13:44:45 +02:00
vfs cargo fmt 2025-03-15 21:32:01 +01:00
vfs-notify Cleanup cfg check handling in expression store lowering 2025-04-29 11:44:11 +02:00