Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge #3814 | bors[bot] | 2020-04-03 | 1 | -1/+2 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 3814: Add impl From for enum variant assist r=flodiebold a=mattyhall Basically adds a From impl for tuple enum variants with one field. It was recommended to me on the zulip to maybe try using the trait solver, but I had trouble with that as, although it could resolve the trait impl, it couldn't resolve the variable unambiguously in real use. I'm also unsure of how it would work if there were already multiple From impls to resolve - I can't see a way we could get more than one solution to my query. Fixes #3766 Co-authored-by: Matthew Hall <[email protected]> | |||||
| * | 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 | |||||
* | | When adding match arm, don't let the floating comma | Aleksey Kladov | 2020-03-31 | 1 | -9/+20 | |
| | | ||||||
* | | 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 | 1 | -7/+8 | |
| | ||||||
* | 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 | |
|/ | ||||||
* | Merge #3708 | bors[bot] | 2020-03-24 | 1 | -38/+65 | |
|\ | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -38/+65 | |
| | | ||||||
* | | 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 | |
|/ / | ||||||
* | | 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 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | Merge pull request #3562 from FireofGods/display_for_node | Aleksey Kladov | 2020-03-12 | 1 | -0/+635 | |
|\ \ | |/ |/| | Add `std::fmt::Display` as a supertrait for `AstNode` | |||||
| * | implementing Display for enums too. | Fireassember | 2020-03-11 | 1 | -0/+635 | |
| | | ||||||
* | | 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 | |||||
* | Add with_use_tree | Aleksey Kladov | 2020-03-05 | 1 | -0/+10 | |
| | ||||||
* | Implement concat macro | Edwin Cheng | 2020-03-03 | 1 | -1/+7 | |
| | ||||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 2 | -15/+15 | |
| | ||||||
* | Fix typo | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 | |
| | ||||||
* | Cleanup editing API | Aleksey Kladov | 2020-02-29 | 1 | -6/+5 | |
| | ||||||
* | More orthogonal API for building paths | Aleksey Kladov | 2020-02-29 | 1 | -4/+7 | |
| | ||||||
* | Refactor string literals | Aleksey Kladov | 2020-02-27 | 1 | -60/+74 | |
| | ||||||
* | Basic injections | Aleksey Kladov | 2020-02-27 | 1 | -0/+30 | |
| | ||||||
* | Fix a crash with non-ascii whitespace in doc-comments | Shotaro Yamada | 2020-02-19 | 1 | -2/+2 | |
| | ||||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 2 | -7/+7 | |
| | ||||||
* | Init implementation of structural search replace | Mikhail Modin | 2020-02-14 | 1 | -1/+1 | |
| | ||||||
* | Introduce AttrKind | Kirill Bulatov | 2020-02-12 | 1 | -3/+12 | |
| | ||||||
* | Do not add imports before inner attributes | Kirill Bulatov | 2020-02-12 | 1 | -0/+9 | |
| |