about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide
AgeCommit message (Collapse)AuthorLines
2025-09-30Merge pull request #20745 from ↵Shoyu Vanilla (Flint)-0/+42
Oblarg/fix-negative-int-literals-in-macro-by-example Fix negative integer literals in const generics in declarative macro context
2025-09-29move test per review feedbackOblarg-0/+42
2025-09-28Merge pull request #19867 from Kivooeo/unsafegateLukas Wirth-1/+1
Allow `&raw [mut | const]` for union field
2025-09-25Merge pull request #20738 from jackh726/next-trait-solver-next4Shoyu Vanilla (Flint)-1/+1
Remove non-ns version of impl_self_ty and impl_trait
2025-09-25Merge pull request #20735 from itsjunetime/fix_scip_salsaShoyu Vanilla (Flint)-1/+1
fix SCIP panicking due to salsa not attaching
2025-09-24fix SCIP panicking due to salsa not attachingitsjunetime-1/+1
2025-09-24Remove non-ns version of impl_self_ty and impl_traitjackh726-1/+1
2025-09-23Be sure to instantiate and pass up trait refs in ↵Jack Huey-2/+2
named_associated_type_shorthand_candidates
2025-09-23Use lower_nextsolver::callable_item_signature instead of ↵Jack Huey-3/+3
lower::callable_item_signature
2025-09-23Remove lower::ty in favor of lower_nextsolver::tyJack Huey-2/+2
2025-09-23Use ParamEnv in TraitEnvironmentJack Huey-2/+2
2025-09-23Make Field::ty return TypeNsjackh726-9/+9
2025-09-20allow take union field addresses in safe rustKivooeo-1/+1
2025-09-18fix negative const generic integer literalsOblarg-1/+1
2025-09-18Merge pull request #20664 from ChayimFriedman2/coerce-nsChayim Refael Friedman-15/+15
fix: Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnostics
2025-09-17Merge pull request #20583 from btj/comments-enableChayim Refael Friedman-18/+127
Add `rust-analyzer.semanticHighlighting.comments.enable`
2025-09-17Add the `rust-analyzer.semanticHighlighting.comments.enable` configuration valueBart Jacobs-18/+127
2025-09-17Merge pull request #20379 from skewb1k/fix/consistent-hover-doc-breaksChayim Refael Friedman-42/+42
fix(hover): unify horizontal rule formatting to `---`
2025-09-16Merge pull request #20612 from Veykril/veykril/push-vzuykrsxvrtsLukas Wirth-46/+49
fix: Fix expand macro recursively not working correctly for nested macro calls
2025-09-16fix: Fix expand macro recursively not working correctly for nested macro callsLukas Wirth-46/+49
2025-09-15Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnosticsChayim Refael Friedman-15/+15
This started from porting coercion, but ended with porting much more.
2025-09-15Don't mark unknown type as implementing every notable traitChayim Refael Friedman-0/+29
Because the new solver, will return "yes" for them (which is a good thing).
2025-09-11Merge pull request #20642 from ChayimFriedman2/wasm-safeShoyu Vanilla (Flint)-1/+1
fix: Make `#[target_feature]` always safe on WASM
2025-09-09Merge pull request #20639 from ChayimFriedman2/update-test-absDavid Barsky-23/+85
fix: Resolve paths to snapshot test libraries absolutely
2025-09-10Fix failing tests and fill-in missing detailsShoyu Vanilla-1/+2
2025-09-09Expand target info to include the architectureChayim Refael Friedman-1/+1
And make it easier to expand it more in the future, if needed.
2025-09-09Resolve paths to snapshot test libraries absolutelyChayim Refael Friedman-23/+85
That is, resolve them globally, not from the test's location. This *should* result in more robust resolution; for example, previously the code failed to detect the presence of snapshot testing if the snapshot library was renamed in the dependency or was an indirect dependency.
2025-09-08make TryToNav take Semantics instead of RootDatabaseRyan Mehri-124/+203
2025-09-08add testRyan Mehri-0/+14
2025-09-08impl TryToNav for BuiltinType insteadRyan Mehri-30/+28
2025-09-08feat: support navigation on primitivesRyan Mehri-16/+26
2025-08-28Attach the db in one more place in highlightingChayim Refael Friedman-1/+2
2025-08-26In highlight_related, when on an unsafe block, don't highlight unsafe ↵Chayim Refael Friedman-4/+19
operations of other unsafe blocks
2025-08-24Add an option to remove reborrows from adjustment inlay hintsChayim Refael Friedman-2/+52
Reborrows are consecutive deref then ref. Make it the default because reborrows are mostly useless to the programmer. Also rename `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "reborrow"` to `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "borrows"`, as it's not about reborrows but about any ref/deref and it's confusing with the new setting.
2025-08-22Fix panic in syntax_highlightingLukas Wirth-27/+29
2025-08-21Remove unnecessary `salsa::attach()` callsChayim Refael Friedman-13/+7
2025-08-21Attach the DB when mapping the result of `world_symbols()`Chayim Refael Friedman-6/+9
We call `try_to_nav()` there.
2025-08-18Auto-attach database in `Analysis` callsLukas Wirth-48/+61
2025-08-17Replace layout_of_ty with layout_of_ty_nsjackh726-14/+16
2025-08-17Switch associated_type_shorthand_candidates to lower_nextsolverjackh726-2/+4
2025-08-17Change direct_super_traits to use generic_predicates_for_param_nsjackh726-6/+10
2025-08-17impl HirDisplay for next_solver::Tyjackh726-92/+111
2025-08-13Merge pull request #20376 from fee1-dead/traitaliasLukas Wirth-40/+6
Merge Trait and TraitAlias handling
2025-08-13fix: Attach db for inlay hint computeLukas Wirth-8/+10
2025-08-13fix errors after rebaseDeadbeef-1/+1
2025-08-13Merge Trait and TraitAlias handlingDeadbeef-39/+5
2025-08-13Merge pull request #20329 from jackh726/next-trait-solver-querifyLukas Wirth-34/+46
Switch from Chalk to the next trait solver
2025-08-10Fix minor thingsIfeanyi Orizu-1/+0
2025-08-10Add config option to exclude locals from doc searchIfeanyi Orizu-21/+298
2025-08-09Implement next trait solverjackh726-34/+46