about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2025-09-25resolve: Do not finalize shadowed bindingsVadim Petrochenkov-4/+2
I.e. do not mark them as used, or non-speculative loaded, or similar. Previously they were sometimes finalized during early resolution, causing issues like https://github.com/rust-lang/rust/pull/144793#issuecomment-3168108005.
2025-09-24Switch next-solver related rustc dependencies of r-a to crates.io onesShoyu Vanilla-40/+5
2025-09-20Bump rustc crates once moreLaurențiu Nicola-34/+32
2025-09-19Merge pull request #20701 from A4-Tacks/track-caller-assist-testChayim Refael Friedman-0/+1
Add `#[track_caller]` for check_assist_by_label
2025-09-19Merge pull request #20697 from Oblarg/fix-negative-const-generic-literalsShoyu Vanilla (Flint)-1/+47
fix negative const generic integer literals
2025-09-19address review feedbackOblarg-0/+23
2025-09-19minor: Get rid of unused deps `chalk-solve` and `chalk-recursive`Shoyu Vanilla-88/+16
2025-09-19Add `#[track_caller]` for check_assist_by_labelA4-Tacks-0/+1
2025-09-19Set WithCachedTypeInfo::stable_hash when in-treeLaurențiu Nicola-0/+6
2025-09-18fix negative const generic integer literalsOblarg-1/+24
2025-09-19fix: Fix one more thing in `in-rust-tree`Shoyu Vanilla-1/+1
2025-09-18Merge pull request #20694 from ShoyuVanilla/bump-rustcLaurențiu Nicola-49/+62
minor: Yet another rustc crates bump
2025-09-19minor: Yet another rustc crates bumpShoyu Vanilla-49/+62
2025-09-19fix: Fix `indexmap` with `in-rust-tree`Shoyu Vanilla-6/+1
2025-09-18Bump rustc crates againLaurențiu Nicola-57/+50
2025-09-18chore: Update rustc depsShoyu Vanilla-30/+44
2025-09-18Merge pull request #20664 from ChayimFriedman2/coerce-nsChayim Refael Friedman-3944/+9358
fix: Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnostics
2025-09-17Merge pull request #20682 from A4-Tacks/fix-change-vis-applicable-on-variantShoyu Vanilla (Flint)-0/+14
Fix applicable on variant field for change_visibility
2025-09-17Fix applicable on variant field for change_visibilityA4-Tacks-0/+14
Enum variant fields do not allow visibility Example --- ```rust enum Foo { Variant($0String), } ``` **Before this PR**: ```rust enum Foo { Variant(pub(crate) String), } ``` **After this PR**: Assist not applicable
2025-09-17Merge pull request #20583 from btj/comments-enableChayim Refael Friedman-18/+156
Add `rust-analyzer.semanticHighlighting.comments.enable`
2025-09-17Add the `rust-analyzer.semanticHighlighting.comments.enable` configuration valueBart Jacobs-18/+156
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-17Fix "sync-from-ra" for `rust-lang/rust`Shoyu Vanilla-0/+6
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-16Merge pull request #20402 from rust-lang/veykril/push-pursotqxutsxLukas Wirth-3/+22
Add more workaround hacks for incorrect startup diagnostics
2025-09-16Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzusLukas Wirth-101/+144
fix: Only compute unstable paths on nightly toolchains for IDE features
2025-09-16Add more workaround hacks for incorrect startup diagnosticsLukas Wirth-8/+16
2025-09-16Workaround lsp-types typoLukas Wirth-1/+12
2025-09-16fix: Only compute unstable paths on nightly toolchains for IDE featuresLukas Wirth-101/+144
2025-09-16fix: Fix expand macro recursively not working correctly for nested macro callsLukas Wirth-46/+49
2025-09-16fix: More precise clause filtering for `explicit_*_predicates_of`Shoyu Vanilla-6/+20
2025-09-15Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnosticsChayim Refael Friedman-3944/+9358
This started from porting coercion, but ended with porting much more.
2025-09-15Merge pull request #20669 from ChayimFriedman2/testing-guideLaurențiu Nicola-0/+107
internal: Add a testing guide
2025-09-15Add a testing guideChayim Refael Friedman-0/+107
2025-09-15Merge pull request #20667 from ChayimFriedman2/ns-cleanup2Chayim Refael Friedman-0/+34
internal: Add Regression Test For The One And The Only Issue #5514
2025-09-15Add Regression Test For The One And The Only Issue #5514Chayim Refael Friedman-0/+34
2025-09-15Merge pull request #20652 from ChayimFriedman2/cli-diagsLaurențiu Nicola-14/+56
internal: Improve `rust-analyzer diagnostics`
2025-09-15Merge pull request #20665 from ChayimFriedman2/error-notableShoyu Vanilla (Flint)-0/+29
fix: Don't mark unknown type as implementing every notable trait
2025-09-15Add regression tests to some S-blocked-on-new-solver issuesChayim Refael Friedman-1/+137
That were fixed by the migration.
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-14Improve `rust-analyzer diagnostics`Chayim Refael Friedman-14/+56
In my experience the `processing <module>` messages make it harder to search for the actual diagnostics, so remove them and instead print the filename only if there is a diagnostic. Also allow choosing the minimum severity.
2025-09-14Merge pull request #20654 from ShoyuVanilla/predicatesChayim Refael Friedman-2/+61
fix: Infinite loop while elaborting predicates
2025-09-14fix: Infinite loop while elaborting predicatesShoyu Vanilla-2/+61
2025-09-14Merge pull request #20635 from iorizu/fix-double-flycheckShoyu Vanilla (Flint)-133/+170
fix: Don't trigger two flychecks when saving files that are part of targets
2025-09-12Fix extra semicolon before else in let-stmtA4-Tacks-1/+51
Example --- ```rust fn main() { let x = if true { () } $0 else {}; } ``` **Before this PR**: ```rust fn main() { let x = if true { () } else if $1 { $0 }; else {}; } ``` **After this PR**: ```rust fn main() { let x = if true { () } else if $1 { $0 } else {}; } ```
2025-09-11Minor refactoringIfeanyi Orizu-140/+170
2025-09-11Merge pull request #20642 from ChayimFriedman2/wasm-safeShoyu Vanilla (Flint)-89/+257
fix: Make `#[target_feature]` always safe on WASM
2025-09-11Merge pull request #20653 from A4-Tacks/gen-function-empty-gen-paramLaurențiu Nicola-1/+30
Fix empty generic param list for generate_function
2025-09-11Fix empty generic param list for generate_functionA4-Tacks-1/+30
Example --- ```rust struct Foo<S>(S); impl<S> Foo<S> { fn foo(&self) { self.bar()$0; } } ``` **Before this PR**: ```rust struct Foo<S>(S); impl<S> Foo<S> { fn foo(&self) { self.bar(); } fn bar<>(&self) ${0:-> _} { todo!() } } ``` **After this PR**: ```rust struct Foo<S>(S); impl<S> Foo<S> { fn foo(&self) { self.bar(); } fn bar(&self) ${0:-> _} { todo!() } } ```
2025-09-10Merge pull request #20649 from ChayimFriedman2/cast-unknownShoyu Vanilla (Flint)-6/+25
fix: Always coerce in a cast, even when there are unknown types