about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
AgeCommit message (Collapse)AuthorLines
2024-12-08Fix a test that didn't test what it shouldChayim Refael Friedman-47/+49
That is, fix the helper function and disable the tests for now.
2024-12-08Merge pull request #18633 from ChayimFriedman2/unify-fnLukas Wirth-1/+21
fix: Coerce two `FnDef`s to fn pointers even if they are the same, if they are subtypes
2024-12-07Coerce two `FnDef`s to fn pointers even if they are the same, if they are ↵Chayim Refael Friedman-1/+21
subtypes That's because they can be the same function but still different substs, which mandates them to coerce to fn pointers in order to unify.
2024-12-07Watch for user config ratomlAli Bektas-37/+94
2024-12-07Merge pull request #18575 from Giga-Bowser/flip-assistsLukas Wirth-87/+217
minor: Migrate `flip_*` assists to `SyntaxEditor`
2024-12-07Merge pull request #18630 from Veykril/push-ystzsxpywnxnLukas Wirth-19/+37
fix: Temporarily disable completion resolve support for helix and neovim
2024-12-06Remove polymorphizationBen Kimock-1/+0
2024-12-06Temporarily disable completion resolve support for neovimLukas Wirth-3/+7
2024-12-06Temporarily disable completion resolve support for helixLukas Wirth-19/+33
2024-12-06Merge pull request #18629 from Veykril/push-wlsvxwomumppLukas Wirth-21/+29
Highlight right angle as part of fat arrow in macro rules arm
2024-12-06Highlight right angle as part of fat arrow in macro rules armLukas Wirth-21/+29
2024-12-06Merge pull request #18628 from Veykril/push-sqpymrtxysmwLukas Wirth-25/+65
Add typing handler for param list pipe
2024-12-06feat: Migrate `flip_comma` assist to `SyntaxEditor`Giga Bowser-43/+79
2024-12-06minor: Add `token_tree` constructor to `SyntaxFactory`Giga Bowser-1/+27
2024-12-06feat: Migrate `flip_trait_bound` assist to `SyntaxEditor`Giga Bowser-6/+8
2024-12-06feat: Migrate `flip_binexpr` assist to `SyntaxEditor`Giga Bowser-26/+29
2024-12-06minor: Add `expr_bin` constructor to `SyntaxFactory`Giga Bowser-0/+17
2024-12-06minor: Add `token` constructor to `SyntaxFactory`Giga Bowser-1/+5
2024-12-06fix: Don't produce `ChangedAncestor` for `SyntaxToken`sGiga Bowser-10/+52
2024-12-06fix: Properly determine `SyntaxEditor` replacement intersectionGiga Bowser-1/+1
Bordering replacements should not be considered intersecting
2024-12-06Add typing handler for param list pipeLukas Wirth-25/+65
2024-12-06Merge pull request #18627 from Veykril/push-tzvnrnytrksrLukas Wirth-2/+25
Improve heuristics for on typing semicolon insertion
2024-12-06Improve heuristics for on typing semicolon insertionLukas Wirth-2/+25
2024-12-06Merge pull request #18551 from ShoyuVanilla/migrate-turbofish-assistLukas Wirth-24/+77
Migrate `add_turbo_fish` to `SyntaxEditor`
2024-12-06Merge pull request #18563 from alibektas/workspace_key_high_precedenceLukas Wirth-3/+1
minor: run `FlycheckHandle::restart_workspace` when `check_workspace` true
2024-12-06Merge pull request #18594 from ChayimFriedman2/async-closuresLukas Wirth-68/+291
feat: Support `AsyncFnX` traits
2024-12-06Merge pull request #18474 from Veykril/push-nvtxykxkwnvsLukas Wirth-127/+196
Make bracket typing handler work on more things
2024-12-06Merge pull request #18610 from Veykril/push-kynytqktmnxqLukas Wirth-2/+157
Add implict unsafety inlay hints for extern blocks
2024-12-06Add implict unsafety inlay hints for extern blocksLukas Wirth-2/+157
2024-12-06Make bracket typing handler work on more thingsLukas Wirth-127/+196
2024-12-06Merge pull request #18625 from Veykril/push-npnxwpxuzlqzLukas Wirth-4/+71
fix: Fix parser getting stuck for bad asm expressions
2024-12-06fix: Fix parser getting stuck for bad asm expressionsLukas Wirth-4/+71
2024-12-05Merge pull request #18622 from Veykril/push-wlzptrukvyupLukas Wirth-3/+68
fix: Fix parsing of dyn T in generic arg on 2015 edition
2024-12-05fix: Fix parsing of dyn T in generic arg on 2015 editionLukas Wirth-3/+68
2024-12-05Merge pull request #18538 from tareknaser/syntax_factory_sort_itemsDavid Barsky-23/+21
Migrate `sort_items` Assist to Use `SyntaxFactory`
2024-12-05Merge pull request #18483 from tareknaser/syntax_factory_introduce_named_genericDavid Barsky-27/+123
Migrate `introduce_named_generic` Assist to Use `SyntaxFactory`
2024-12-05fix: Resolve generic parameters within use capturesLukas Wirth-2/+90
2024-12-05Merge pull request #18620 from Veykril/push-pyulxnouvxkqLukas Wirth-85/+125
fix: Parse lifetime bounds in lifetime param into TypeBoundList
2024-12-05Parse lifetime bounds in lifetime param into TypeBoundListLukas Wirth-85/+125
This mainly aids in error recovery but also makes it a bit easier to handle lifetime resolution. While doing so it also came apparent that we were not actually lowering lifetime outlives relationships within lifetime parameter declaration bounds, so this fixes that.
2024-12-05Merge pull request #18619 from ShoyuVanilla/issue-18613Lukas Wirth-1/+55
fix: Panic when displaying generic params with defaults
2024-12-06fix: Panic when displaying generic params with defaultsShoyu Vanilla-1/+55
2024-12-05Merge pull request #18618 from Veykril/push-ysklqzomkyvpLukas Wirth-133/+351
fix: Fix parsing of integer/keyword name refs in various places
2024-12-05fix: Fix parsing of integer/keyword name refs in various placesLukas Wirth-133/+351
2024-12-05fix: rename `syntax_editor_add_generic_param` to `add_generic_param`Tarek-2/+2
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-05Merge pull request #18616 from Veykril/push-pkumxswtxspoLukas Wirth-1/+1
fix: Disable `<` typing handler again
2024-12-05Disable `<` typing handler againLukas Wirth-1/+1
2024-12-04Merge pull request #18611 from ChayimFriedman2/proc-macro-warnLukas Wirth-0/+13
fix: Do not report warnings from proc macros, ever
2024-12-04Rename `core_pattern_type` and `core_pattern_types` lib feature gates to ↵Oli Scherer-11/+2
`pattern_type_macro` That's what the gates are actually gating, and the single char difference in naming was not helpful either
2024-12-04fix: update `introduce_named_generic` to use `type_param` directlyTarek-3/+2
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-04Do not report warnings from proc macros, everChayim Refael Friedman-0/+13