summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/syntax
AgeCommit message (Expand)AuthorLines
2024-12-18Fix AsmOption rule in rust.ungramArthur Baars-3/+1
2024-12-11minor: Add `item_static` constructor to `SyntaxFactory`Giga Bowser-1/+63
2024-12-11minor: Add `item_const` constructor to `SyntaxFactory`Giga Bowser-0/+27
2024-12-11Merge pull request #18458 from Giga-Bowser/masterLukas Wirth-6/+35
2024-12-10minor: Migrate `generate_enum_variant` to `SyntaxEditor`Giga Bowser-130/+204
2024-12-10minor: Add `ty_infer` constructor to `SyntaxFactory`Giga Bowser-0/+8
2024-12-10minor: Add `whitespace` constructor to `SyntaxFactory`Giga Bowser-0/+4
2024-12-10minor: Add `item_enum` constructor to `SyntaxFactory`Giga Bowser-6/+237
2024-12-09minor: Migrate `remove_unnecessary_wrapper` to `SyntaxEditor`Giga Bowser-0/+20
2024-12-09fix: Handle the final statement in `SyntaxFactory::block_expr` properlyGiga Bowser-6/+15
2024-12-08fix: Map new replacement nodes to their mutable equivalents in `SyntaxEditor`Giga Bowser-0/+6
2024-12-06minor: Add `token_tree` constructor to `SyntaxFactory`Giga Bowser-1/+27
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
2024-12-06Merge pull request #18551 from ShoyuVanilla/migrate-turbofish-assistLukas Wirth-0/+18
2024-12-05Merge pull request #18483 from tareknaser/syntax_factory_introduce_named_genericDavid Barsky-1/+100
2024-12-05fix: rename `syntax_editor_add_generic_param` to `add_generic_param`Tarek-1/+1
2024-12-04refactor: move editing for ast using `SyntaxEditor` to a separate fileTarek-73/+73
2024-12-04fix: refactor `introduce_named_generic` assistTarek-28/+26
2024-12-04fix: correct token type for closing angle bracketTarek-1/+1
2024-12-04fix: refactor `syntax_editor_add_generic_param`Tarek-13/+38
2024-12-04fix: refactor `syntax_editor_add_generic_param` to handle adding new generic ...Tarek-35/+30
2024-12-04fix: refactor syntax_editor_add_generic_param to handle new generic parametersTarek-12/+11
2024-12-04fix: implement `syntax_editor_create_generic_param_list`Tarek-0/+32
2024-12-04define syntax_editor_add_generic_paramTarek-2/+31
2024-12-04feat: migrate introduce_named_generic assist to use SyntaxFactoryTarek-0/+21
2024-12-04Lay the foundation for diagnostics in ty lowering, and implement a first diag...Chayim Refael Friedman-1/+1
2024-12-04Fix parsing of parenthesized type args and RTNLukas Wirth-2/+41
2024-11-26Migrate `add_turbo_fish` to `SyntaxEditor`Shoyu Vanilla-0/+18
2024-10-30Merge pull request #18385 from Giga-Bowser/masterLukas Wirth-1/+41
2024-10-28Move text-edit into ide-dbLukas Wirth-598/+55
2024-10-27Put leading `|` in patterns under `OrPat`Chayim Refael Friedman-1/+13
2024-10-24Add `ty_fn_ptr` function to create function pointer typeGiga Bowser-1/+41
2024-10-22Merge pull request #18254 from ChayimFriedman2/fix-mutLukas Wirth-0/+4
2024-10-22fix: Fix incorrect parsing of use boundsLukas Wirth-6/+88
2024-10-21fix: Fix token downmapping failing for include! inputsLukas Wirth-1/+1
2024-10-20Handle destructuring assignments uniformlyChayim Refael Friedman-0/+4
2024-10-20feat: initial support for safe_kw in extern blocksroife-1/+8
2024-09-29Rename object_safety to dyn_compatibilityNoah Bright-1/+1
2024-09-26internal: Add `SyntaxFactory` to ease generating nodes with syntax mappingsDropDemBits-101/+186
2024-09-19Auto merge of #18146 - ChayimFriedman2:allow-comment, r=Veykrilbors-6/+11
2024-09-19Remove check that text of `parse_expr_from_str()` matches the produced parsed...Chayim Refael Friedman-6/+11
2024-09-18Get rid of `$crate` in expansions shown to the userChayim Refael Friedman-1/+12
2024-09-12Auto merge of #18099 - ChayimFriedman2:diag-only-necessary, r=Veykrilbors-0/+27
2024-09-12Use more correct handling of lint attributesChayim Refael Friedman-0/+27
2024-09-12Auto merge of #18038 - roife:fix-issue-18034, r=Veykrilbors-1/+1
2024-09-10Auto merge of #18032 - DropDemBits:sed-tree-edits, r=davidbarskybors-0/+1251
2024-09-10refactor: introduce NameGenerator in suggest_nameroife-1/+1