aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src/ast/make.rs
Commit message (Collapse)AuthorAgeFilesLines
* Minor, cleanup APIAleksey Kladov2020-12-181-0/+3
|
* Parenthesize composite if condition before inverting in invert-if assistJesse Bakker2020-12-151-0/+3
|
* Add replace_match_with_if_let assistLukas Wirth2020-12-051-2/+11
|
* Add missing AssocItems in add_custom_impl assistLukas Wirth2020-11-051-0/+4
|
* Support struct variants in extract_struct_from_enum_variantLukas Wirth2020-11-031-2/+25
|
* Make insert_use return a SyntaxRewriterLukas Wirth2020-11-021-0/+37
|
* Properly qualify trait methods in qualify_path assistLukas Wirth2020-10-151-0/+3
|
* when generating new function, focus on return type instead of bodyBenjamin Coenen2020-10-081-1/+11
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Merge #6019bors[bot]2020-09-291-5/+28
|\ | | | | | | | | | | | | | | 6019: Remove make::path_from_text r=matklad a=Veykril This removes the `make::path_from_text` function, which according to a note should've been private. I removed it since it didn't really serve a purpose as it was simply wrapping `make::ast_from_text`. Co-authored-by: Lukas Wirth <[email protected]>
| * Remove make::path_from_textLukas Wirth2020-09-161-5/+28
| |
* | Add make utility for empty associated item listsMatt Hooper2020-09-211-0/+4
| |
* | Add make::glob_use_tree function to create star-only UseTreeLukas Wirth2020-09-161-0/+4
|/
* Merge #5940bors[bot]2020-09-041-0/+15
|\ | | | | | | | | | | | | | | 5940: Implement "Replace `impl Trait` function argument with the named generic" assist. r=matklad a=alekseysidorov Fixes #5085 Co-authored-by: Aleksei Sidorov <[email protected]>
| * Fix testsAleksei Sidorov2020-09-041-1/+1
| |
| * Initial implementation of the #5085 issueAleksei Sidorov2020-09-031-0/+15
| |
* | Impl make::blank_lineLukas Wirth2020-09-031-1/+11
|/
* Reduce path_from_text usageAleksey Kladov2020-08-311-0/+1
|
* Remove dead codeAleksey Kladov2020-08-311-14/+0
|
* Cleanup invert-ifAleksey Kladov2020-08-251-6/+3
| | | | | * stick to trivial factory functions in make * compress the logic for inverting Option/Result
* Invert if should be smart about is_some, is_none, is_ok, is_errdragfire2020-08-241-1/+7
|
* Remove deprecated functionAleksey Kladov2020-08-131-0/+7
|
* **Merge Imports** assist handles selfAleksey Kladov2020-08-121-0/+3
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-0/+392