about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide-db
AgeCommit message (Collapse)AuthorLines
2025-08-07Rollup merge of #144682 - nxsaken:strict_overflow_ops, r=Mark-SimulacrumStuart Cook-14/+0
Stabilize `strict_overflow_ops` Closes rust-lang/rust#118260
2025-08-04Remove strict_overflow_ops lintNurzhan Sakén-14/+0
2025-08-02When renaming a parameter to `self`, change callers to use method call syntaxChayim Refael Friedman-13/+6
2025-07-31`cargo clippy --fix`Lukas Wirth-206/+187
2025-07-26Migrate PathTransform to SyntaxEditorHayashi Mikihiro-35/+81
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-26add Debug on AstSubst PathTransform.rsHayashi Mikihiro-1/+2
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-20Fix search of raw labels and lifetimesChayim Refael Friedman-2/+7
It used to search for `'foo` which won't find `'r#foo`, now we search for `foo` instead.
2025-07-15Merge from rust-lang/rustLaurențiu Nicola-2/+2
2025-07-13update issue number for `const_trait_impl`Deadbeef-2/+2
2025-07-07Merge pull request #20185 from ChayimFriedman2/variant-symbolsDavid Barsky-0/+68
feat: Include enum variants in world symbols
2025-07-06Include enum variants in world symbolsChayim Refael Friedman-0/+68
I opted to not include enum variant imports, only under the enum, and to not gate this behind a setting.
2025-07-06Merge pull request #20132 from A4-Tacks/asmut-borrow-minicoreLukas Wirth-0/+12
Add AsMut, Borrow and BorrowMut to minicore and famous_defs
2025-07-03fix: Improve diagnostic ranges for `macro_calls!`Lukas Wirth-4/+4
We used to point to the entire macro call including its token tree if we couldn't upmap the diagnostic to the input This generally makes things very noisy as the entire macro call will turn red on errors. Instead, we now macro the path and `!` (bang) token as the error source range which is a lot nicer on the eyes.
2025-07-03Bump salsaLukas Wirth-1/+1
2025-07-01Add AsMut Borrow BorrowMut to minicore and famous_defsA4-Tacks-0/+12
2025-06-26Prettify AST in `PathTransform` if it's coming from a macroChayim Refael Friedman-4/+27
2025-06-23Don't run doctestsChayim Refael Friedman-0/+1
2025-06-17Merge pull request #20023 from Veykril/push-vkqlnyttnqzlLukas Wirth-1/+1
Improve completions in if / while expression conditions
2025-06-17Improve completions in if / while expression conditionsLukas Wirth-1/+1
2025-06-17chore: Start infesting ide crates with 'db lifetimeLukas Wirth-85/+96
2025-06-15Add config option to exclude imports from symbol searchLucas Holten-1/+182
2025-06-13`cargo upgrade`Lukas Wirth-1/+1
2025-06-09Merge from rust-lang/rustLaurențiu Nicola-14/+0
2025-06-05Stabilize `const_eq_ignore_ascii_case`Paolo Barbolini-14/+0
2025-06-02fix: Fix edition handling for names in rename logicLukas Wirth-80/+98
2025-06-02Enhance renaming to include identifiers that are generated from the original ↵Lukas Wirth-10/+18
symbol Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2025-05-30internal: Restructure some semantics APIs for virtual macro filesLukas Wirth-5/+9
2025-05-29fix: Fix import insertion not being fully cfg awareLukas Wirth-88/+169
2025-05-26Merge pull request #19864 from ChayimFriedman2/is-in-macroLukas Wirth-15/+19
fix: Properly implement `might_be_inside_macro_call()` using semantic information instead of syntactical hacks
2025-05-25Properly implement `might_be_inside_macro_call()` using semantic information ↵Chayim Refael Friedman-15/+19
instead of syntactical hacks And rename it to `is_inside_macro_call()` accordingly.
2025-05-23Bump salsaLukas Wirth-3/+1
2025-05-20Merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-05-09Split duration_constructors to get non-controversial bits out faster.Dietrich Daroch-1/+1
2025-05-08Merge pull request #19507 from Hmikihiro/fix_module_doc_linksLukas Wirth-36/+110
fix: resolve doc path from parent module if outer comments exist on module
2025-05-07check module path inner or outerHayashi Mikihiro-36/+110
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-05-06Notify the user that we're collecting symbolsChayim Refael Friedman-1/+10
It could be confusing if they see "Indexing n/n" but cache priming does not finish.
2025-05-05Add a `--num-threads` to the `prime-caches` CLI commandChayim Refael Friedman-56/+57
And make it parallel by default (and remove the `--parallel` flag) to mirror the IDE cache priming.
2025-05-05Better manage parallel prime cachesChayim Refael Friedman-245/+167
To make best use of available cores, and don't waste time waiting for other tasks. See the comments in the code for explanation.
2025-05-05fix: Remove unnecessary token length check for macros in renamingLukas Wirth-5/+0
2025-05-05refactor: De-arc defmap queriesLukas Wirth-1/+1
2025-05-01remove a couple of clonesMatthias Krüger-2/+2
2025-04-29Split out salsa_macrosLukas Wirth-3/+4
Does not do much yet due to tracing pulling syn but oh well
2025-04-29Cleanup cfg check handling in expression store loweringLukas Wirth-9/+11
2025-04-29refactor: Clean up cache priming cancellation handlingLukas Wirth-21/+40
2025-04-28Merge pull request #19704 from Veykril/push-wrvznvvpvtvpLukas Wirth-0/+12
Add expression fill mode variant for filling with underscore expressions
2025-04-28Add expression fill mode variant for filling with underscore expressionsLukas Wirth-0/+12
2025-04-28Merge from rust-lang/rustLaurențiu Nicola-29/+0
2025-04-22Merge pull request #19657 from ChayimFriedman2/better-offset-ofLukas Wirth-0/+8
feat: Better support `offset_of!()`
2025-04-22Resolve `offset_of!()` in IDEChayim Refael Friedman-0/+8
2025-04-21Get rid of static predefined symbolsChayim Refael Friedman-4/+4
Make them all `const`.