Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add impl From for enum variant assist | Matthew Hall | 2020-04-01 | 1 | -1/+2 | |
| | | | | | | | | | | | | Basically adds a From impl for tuple enum variants with one field. Added to cover the fairly common case of implementing your own Error that can be created from another one, although other use cases exist. | |||||
* | | lower bool literal with the value from source code rather than default bool ↵ | Josh Mcguigan | 2020-04-01 | 1 | -2/+3 | |
| | | | | | | | | value | |||||
* | | Merge #3786 | bors[bot] | 2020-03-31 | 1 | -9/+20 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3786: When adding match arm, don't let the floating comma r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | When adding match arm, don't let the floating comma | Aleksey Kladov | 2020-03-31 | 1 | -9/+20 | |
| | | | ||||||
* | | | Attach doc-comment to declaration if there are newlines in between | Leander Tentrup | 2020-03-31 | 3 | -1/+32 | |
|/ / | | | | | | | This commit changes the parser to attach doc-comments to the corresponding declaration in case there are newlines in between the doc-comment and the declaration. | |||||
* | | Use IntoIter | Aleksey Kladov | 2020-03-30 | 1 | -4/+4 | |
| | | ||||||
* | | Tidy up insertion position logic | Matthew Hall | 2020-03-29 | 1 | -20/+6 | |
| | | ||||||
* | | Remove unneeded variables | Matthew Hall | 2020-03-29 | 1 | -4/+2 | |
| | | ||||||
* | | Append new match arms rather than replacing all of them | Matthew Hall | 2020-03-28 | 1 | -30/+112 | |
|/ | | | | This means we now retain comments when filling in match arms. | |||||
* | Nice string formatting | Aleksey Kladov | 2020-03-28 | 3 | -10/+14 | |
| | ||||||
* | Fix merge-imports assist for wildcard imports | Piotr Szpetkowski | 2020-03-27 | 2 | -2/+8 | |
| | ||||||
* | Merge #3742 | bors[bot] | 2020-03-27 | 2 | -5/+11 | |
|\ | | | | | | | | | | | | | | | | | | | | | 3742: Replace if with if-let r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Replace if with if-let | Aleksey Kladov | 2020-03-27 | 2 | -5/+11 | |
| | | ||||||
* | | Merge #3741 | bors[bot] | 2020-03-27 | 1 | -1/+10 | |
|\| | | | | | | | | | | | | | | | | | | | | | 3741: More general ctor for ifs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | More general ctor for ifs | Aleksey Kladov | 2020-03-27 | 1 | -1/+10 | |
| | | ||||||
* | | Merge #3740 | bors[bot] | 2020-03-27 | 1 | -29/+28 | |
|\| | | | | | | | | | | | | | | | | | | | | | 3740: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Simplify | Aleksey Kladov | 2020-03-27 | 1 | -29/+28 | |
| | | ||||||
* | | Merge #3732 | bors[bot] | 2020-03-26 | 1 | -0/+4 | |
|\ \ | |/ |/| | | | | | | | | | | | 3732: Assist: replace unwrap with match r=matklad a=unrealhoang attempt on #3669 Co-authored-by: Unreal Hoang <[email protected]> | |||||
| * | Assist: replace unwrap with match | Unreal Hoang | 2020-03-26 | 1 | -0/+4 | |
| | | ||||||
* | | Get rid of ItemOrMacro | Aleksey Kladov | 2020-03-26 | 2 | -31/+10 | |
| | | ||||||
* | | Fix parsing lambdas with return type | Aleksey Kladov | 2020-03-25 | 3 | -14/+62 | |
|/ | | | | | | | We should eat only a single block, and not whatever larger expression may start with a block. closes #3721 | |||||
* | Remove dead code | Aleksey Kladov | 2020-03-25 | 1 | -11/+0 | |
| | ||||||
* | Merge #3708 | bors[bot] | 2020-03-24 | 2 | -67/+174 | |
|\ | | | | | | | | | | | | | | | | | | | | | 3708: Generalise syntax rewriting infrastructure to allow removal of nodes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Generalise syntax rewriting infrastructure to allow removal of nodes | Aleksey Kladov | 2020-03-24 | 2 | -67/+174 | |
| | | ||||||
* | | Merge #3705 | bors[bot] | 2020-03-24 | 1 | -3/+3 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3705: Align naming r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Align naming | Aleksey Kladov | 2020-03-24 | 1 | -3/+3 | |
| | | | ||||||
* | | | fill match arms with empty block rather than unit tuple | Josh Mcguigan | 2020-03-24 | 1 | -0/+3 | |
|/ / | ||||||
* | | update itertools version to 0.9.0 | Josh Mcguigan | 2020-03-23 | 1 | -1/+1 | |
| | | ||||||
* | | review comments | Josh Mcguigan | 2020-03-23 | 1 | -1/+6 | |
| | | ||||||
* | | implement fill match arm assist for tuple of enums | Josh Mcguigan | 2020-03-23 | 1 | -0/+9 | |
|/ | ||||||
* | Add support for macro in symbo_index | Edwin Cheng | 2020-03-22 | 1 | -1/+12 | |
| | ||||||
* | Add identity expansion checking | Edwin Cheng | 2020-03-21 | 1 | -0/+4 | |
| | ||||||
* | Support arbitrary discriminants | Aleksey Kladov | 2020-03-20 | 2 | -0/+31 | |
| | | | | Closes #3661 | |||||
* | Generalize | Aleksey Kladov | 2020-03-19 | 1 | -0/+4 | |
| | ||||||
* | Use match_ast | Aleksey Kladov | 2020-03-18 | 1 | -2/+2 | |
| | ||||||
* | Merge imports assist | Aleksey Kladov | 2020-03-18 | 2 | -0/+34 | |
| | | | | Work towards #2220 | |||||
* | Strongly-typed generic methods for editing nodes | Aleksey Kladov | 2020-03-18 | 1 | -47/+49 | |
| | ||||||
* | Merge #3540 | bors[bot] | 2020-03-16 | 1 | -1/+15 | |
|\ | | | | | | | | | | | | | | | 3540: Swtches to rust SSR query check r=matklad a=mikhail-m1 related to #3186 Co-authored-by: Mikhail Modin <[email protected]> | |||||
| * | Swtches to rust SSR query check | Mikhail Modin | 2020-03-15 | 1 | -1/+15 | |
| | | ||||||
* | | Parse variadics correctly | Aleksey Kladov | 2020-03-13 | 6 | -3/+145 | |
| | | | | | | | | closes #3571 | |||||
* | | Move verbose tests out of line | Aleksey Kladov | 2020-03-13 | 8 | -56/+87 | |
| | | ||||||
* | | Remove some TextUnit->usize escapees | CAD97 | 2020-03-13 | 2 | -7/+7 | |
| | | ||||||
* | | Merge pull request #3562 from FireofGods/display_for_node | Aleksey Kladov | 2020-03-12 | 2 | -1/+636 | |
|\ \ | | | | | | | Add `std::fmt::Display` as a supertrait for `AstNode` | |||||
| * | | implementing Display for enums too. | Fireassember | 2020-03-11 | 1 | -0/+635 | |
| | | | ||||||
| * | | added fmt::Display as a supertrait for AstNode and changed generation. | Fireassember | 2020-03-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix parsing of stement-ish binary expressions | Aleksey Kladov | 2020-03-11 | 2 | -0/+41 | |
| |/ |/| | | | | | closes #3512 | |||||
* | | Add parse_to_token_tree | Edwin Cheng | 2020-03-08 | 1 | -0/+6 | |
|/ | ||||||
* | make::use_item | Aleksey Kladov | 2020-03-06 | 1 | -0/+4 | |
| | ||||||
* | Simplify creation of `T[,]` | Aleksey Kladov | 2020-03-06 | 2 | -13/+4 | |
| | ||||||
* | Rerail split_import API onto AST | Aleksey Kladov | 2020-03-06 | 2 | -0/+39 | |
| | | | | | The code is more verbose and less efficient now, but should be reusable in add_import context as well |