about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2025-05-28Merge pull request #19880 from Veykril/push-xmpxumsrkymkLukas Wirth-31/+97
fix: Handle included files better in IDE layer
2025-05-28Merge pull request #19872 from ChayimFriedman2/async-fn-outputLukas Wirth-11/+81
fix: Fix inference of `AsyncFnX` return type
2025-05-28fix: Handle included files better in IDE layerLukas Wirth-31/+97
This does not fully fix things, but it introduces a function that can be used to fix occurences. When using `to_def` functionality, the input node needs to come from the macro expanded include, not the real file that was included. This does unfortunately add more caller burden, but there is not really a way around it.
2025-05-28Merge pull request #19876 from ShoyuVanilla/layout-paddingLukas Wirth-23/+272
feat: Render padding information when hovering on structs
2025-05-28feat: Render padding information when hovering on structsShoyu Vanilla-23/+272
2025-05-28Back out "Fix IDE resolution of item macros"Lukas Wirth-14/+0
This backs out commit 3e0ab7219a5464999652beca22698cd46e1e48e8.
2025-05-28Drop unnecessay codeLukas Wirth-35/+3
2025-05-28fix: Fix IDE layer not resolving some macro callsLukas Wirth-35/+62
2025-05-28chore: Remove support for `concat_idents!`Trevor Gross-44/+0
`concat_idents!` was deprecated in [1] and will be removed in the near future. rust-analyzer's support is independent of rustc's, so drop RA support now to make syncing easier. [1]: https://github.com/rust-lang/rust/pull/137653
2025-05-28fix: Skip pattern analysis on type mismatchesShoyu Vanilla-0/+17
2025-05-27Make `Semantics<'db, DB>` support `Semantics<'db, dyn HirDatabase>`, by use ↵Vincent Esche-1/+1
of `DB: ?Sized`
2025-05-27Fix inference of `AsyncFnX` return typeChayim Refael Friedman-11/+81
2025-05-26Merge pull request #19862 from ChayimFriedman2/item-resolve-macro-hirChayim Refael Friedman-29/+74
fix: Fix IDE resolution of item macros
2025-05-26fix: formated to clippyvremyavnikuda-1/+1
2025-05-26fix: the lines are formatted according to clippyvremyavnikuda-1/+1
2025-05-26fix: the lines are formatted according to clippyvremyavnikuda-2/+2
2025-05-26docs: add documentation for find_all_refs constructor search (#10725)vremyavnikuda-3/+158
2025-05-26Merge pull request #19792 from A4-Tacks/fix-generate-mut-trait-impl-indentLukas Wirth-3/+91
fix: ide-assists, generate mut trait impl indent
2025-05-26Merge pull request #19819 from Veykril/push-utvzwvwuuvlmLukas Wirth-3/+3
Change import prefix default to be by crate
2025-05-26Merge pull request #19785 from A4-Tacks/fix-generate-new-indentLukas Wirth-1/+136
fixes: ide-assists, generate_new indent loses
2025-05-26Merge pull request #19851 from ChayimFriedman2/normalize-exhaustivenessLukas Wirth-25/+81
fix: Normalize when checking for uninhabited types for pattern exhaustiveness checking
2025-05-26Merge pull request #19864 from ChayimFriedman2/is-in-macroLukas Wirth-85/+125
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-85/+125
instead of syntactical hacks And rename it to `is_inside_macro_call()` accordingly.
2025-05-25Fix IDE resolution of item macrosChayim Refael Friedman-29/+74
It wasn't inside the source, because there was no source map.
2025-05-23Bump salsaLukas Wirth-280/+83
2025-05-23Normalize when checking for uninhabited types for pattern exhaustiveness ↵Chayim Refael Friedman-25/+81
checking
2025-05-22Remove rust-analyzer.vs from other editorsOli Scherer-24/+0
2025-05-22Merge pull request #19842 from Veykril/push-zunlmrzpnrzkLukas Wirth-1/+1
minor: Support `transmute_unchecked` intrinsic for mir-eval
2025-05-22Support `transmute_unchecked` intrinsic for mir-evalLukas Wirth-1/+1
2025-05-22Merge pull request #19824 from ChayimFriedman2/lints-againLukas Wirth-164/+60
fix: Fix cache problems with lints level
2025-05-21Merge pull request #19839 from ChayimFriedman2/inlay-hints-attrLukas Wirth-5/+15
fix: Correctly set the span of the proc_macro crate's Group delimiters
2025-05-21internal: fix `integrated_benchmarks` to make actual editsDavid Barsky-8/+12
2025-05-21Correctly set the span of the proc_macro crate's Group delimitersChayim Refael Friedman-5/+15
Previously only the open delimiter's span was set, and this caused... weird problems.
2025-05-20Merge pull request #19826 from lnicola/sync-from-rustLaurențiu Nicola-28/+53
minor: Sync from downstream
2025-05-20Bump rustc cratesLaurențiu Nicola-22/+29
2025-05-20Merge from rust-lang/rustLaurențiu Nicola-7/+25
2025-05-20Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-05-19Fix cache problems with lints levelChayim Refael Friedman-164/+60
By removing the cache.
2025-05-19Merge pull request #19822 from Veykril/push-mzzluystvwlsLukas Wirth-49/+1
minor: Remote dangling file
2025-05-19Remote dangling fileLukas Wirth-49/+1
2025-05-19Merge pull request #19809 from flodiebold/push-txyotwlvvklnLukas Wirth-1/+17
internal: Catch panics in inference in analysis-stats
2025-05-19Debounce workspace fetching for workspace structure changesLukas Wirth-9/+54
2025-05-19Change import prefix default to be by crateLukas Wirth-3/+3
The current default plain, tends to create non-uniform import blocks over time, some being relative, some being absolute. I believe we should encourage a different default here.
2025-05-19Merge pull request #19757 from Veykril/push-zzxwtzuzqvzxLukas Wirth-80/+136
perf: Request cancellation while processing changed files
2025-05-18Merge pull request #19687 from gohome001/highlight_unsafeLukas Wirth-0/+67
feat: highlight unsafe operations
2025-05-17Catch panics in inference in analysis-statsFlorian Diebold-1/+17
2025-05-16Merge pull request #19808 from Veykril/lw-ollszwnlmquwLukas Wirth-6/+6
ci: Run metrics on the beta channel
2025-05-16ci: Run metrics on the beta channelLukas Wirth-6/+6
This way we can catch regressions from upstream earlier
2025-05-16Merge pull request #19807 from Veykril/lw-qyynkqysuyuyLukas Wirth-2/+15
fix: Don't overwrite `RUSTUP_TOOLCHAIN` if it is already set
2025-05-16fix: Don't overwrite `RUSTUP_TOOLCHAIN` if it is already setLukas Wirth-2/+15