aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src/ast/make.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove more redundant clones (clippy::redundant_clone())Matthias Krüger2021-03-211-1/+1
|
* Upgrade rowanAleksey Kladov2021-03-161-2/+12
| | | | Notably, new rowan comes with support for mutable syntax trees.
* feat: add expr_for_loop to make in syntaxLuiz Carlos Mourão Paes de Carvalho2021-03-101-0/+3
|
* Better strip turbofishesKirill Bulatov2021-03-081-0/+4
|
* Add tests for apply_demorganLukas Wirth2021-02-241-2/+5
|
* allow try expr? when extacting functionVladyslav Katasonov2021-02-131-0/+3
|
* handle return, break and continue when extracting functionVladyslav Katasonov2021-02-131-9/+47
|
* allow modifications of vars from outer scope inside extracted functionVladyslav Katasonov2021-02-031-1/+1
| | | | | It currently allows only directly setting variable. No `&mut` references or methods.
* .Aleksey Kladov2021-01-191-3/+3
|
* :arrow_up: rowanAleksey Kladov2021-01-191-1/+1
|
* Add Unmerge Use assistunexge2021-01-151-2/+6
|
* Fixed typos in code commentsVincent Esche2021-01-091-1/+1
|
* Document `make` module designAleksey Kladov2020-12-231-1/+7
|
* 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