Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle associated type shorthand (`T::Item`) | Florian Diebold | 2019-09-22 | 1 | -370/+370 |
| | | | | | | | | | | | | This is only allowed for generic parameters (including `Self` in traits), and special care needs to be taken to not run into cycles while resolving it, because we use the where clauses of the generic parameter to find candidates for the trait containing the associated type, but the where clauses may themselves contain instances of short-hand associated types. In some cases this is even fine, e.g. we might have `T: Trait<U::Item>, U: Iterator`. If there is a cycle, we'll currently panic, which isn't great, but better than overflowing the stack... | ||||
* | feat(assists): Apply comments | Geobert Quach | 2019-09-19 | 1 | -100/+59 |
| | |||||
* | feat(assists): Rename `escape_quote` to `escape_double_quote` | Geobert Quach | 2019-09-19 | 1 | -3/+3 |
| | |||||
* | feature(assists): Fix regression | Geobert Quach | 2019-09-19 | 1 | -2/+2 |
| | |||||
* | feat(assists): manage `"` when removing hash and make_usual_string | Geobert Quach | 2019-09-19 | 1 | -5/+90 |
| | |||||
* | feat(assists): raw string <-> usual string manipulation | Geobert Quach | 2019-09-19 | 2 | -0/+331 |
| | | | | Fixes #1730 | ||||
* | Move store TypeRef of type based path in PathKind | uHOOCCOOHu | 2019-09-15 | 1 | -1/+1 |
| | |||||
* | Support path starting with a type | uHOOCCOOHu | 2019-09-15 | 1 | -3/+4 |
| | |||||
* | rename AdtDef -> Adt | Aleksey Kladov | 2019-09-12 | 1 | -2/+2 |
| | |||||
* | Minor typo fix for ra_assists code doc | Nelson Chen | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | add assist to move type bounds to where clause | Ekaterina Babshukova | 2019-09-05 | 3 | -0/+167 |
| | |||||
* | fix assists | Aleksey Kladov | 2019-09-02 | 2 | -4/+7 |
| | |||||
* | fix hir for new block syntax | Aleksey Kladov | 2019-09-02 | 2 | -7/+13 |
| | |||||
* | :arrow_up: once_cell | Aleksey Kladov | 2019-09-01 | 1 | -1/+1 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 3 | -13/+13 |
| | |||||
* | make ast object safe | Aleksey Kladov | 2019-08-23 | 1 | -2/+5 |
| | |||||
* | refactor fill_match_arms assist | Ekaterina Babshukova | 2019-08-22 | 3 | -132/+170 |
| | |||||
* | refactor TryConvWith similar to ConvWith | Aleksey Kladov | 2019-08-20 | 1 | -4/+1 |
| | |||||
* | remove ast::*Kind enums from assists | Aleksey Kladov | 2019-08-19 | 5 | -45/+45 |
| | |||||
* | Lower fully qualified associated type paths | Florian Diebold | 2019-08-12 | 1 | -0/+1 |
| | | | | I.e. `<T as Trait>::Foo`. | ||||
* | rustfmt | Evgenii P | 2019-07-30 | 1 | -10/+15 |
| | |||||
* | Fix flip comma assist | Evgenii P | 2019-07-30 | 1 | -0/+25 |
| | |||||
* | Add merge_match_arm assist, bump rowan to 0.6.1 | Phil Ellison | 2019-07-29 | 2 | -0/+190 |
| | |||||
* | Document AssistBuilder | Aleksey Kladov | 2019-07-29 | 2 | -10/+23 |
| | | | | closes #1603 | ||||
* | streamline API | Aleksey Kladov | 2019-07-21 | 1 | -2/+3 |
| | |||||
* | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 5 | -13/+15 |
| | |||||
* | align SyntaxText API with upstream | Aleksey Kladov | 2019-07-20 | 3 | -4/+7 |
| | |||||
* | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 17 | -64/+73 |
| | |||||
* | sane indexing in text | Aleksey Kladov | 2019-07-19 | 1 | -4/+3 |
| | |||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 1 | -4/+4 |
| | |||||
* | migrate ra_assists to the new AST | Aleksey Kladov | 2019-07-19 | 16 | -203/+212 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 2 | -5/+6 |
| | | | | this is in preparation for the new rowan API | ||||
* | move whitespace manipulation inside AstEditor | Ekaterina Babshukova | 2019-07-10 | 2 | -19/+17 |
| | |||||
* | readability | Jeremy Kolb | 2019-07-05 | 1 | -1/+4 |
| | |||||
* | Clippy changes | Jeremy Kolb | 2019-07-05 | 2 | -21/+15 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -6/+6 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 18 | -82/+79 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | extend add_impl_members to constants and types | Ekaterina Babshukova | 2019-07-03 | 2 | -50/+87 |
| | |||||
* | Review 1 | Changyu Li | 2019-06-25 | 1 | -16/+19 |
| | |||||
* | fill_match_arm works with trivial arm | ironyman | 2019-06-24 | 1 | -2/+54 |
| | |||||
* | Implement autoderef using the Deref trait | Florian Diebold | 2019-06-15 | 1 | -1/+1 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 2 | -2/+2 |
| | |||||
* | use Source for StructField | Aleksey Kladov | 2019-06-11 | 1 | -2/+2 |
| | |||||
* | use Source for Trait | Aleksey Kladov | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | Fix clippy::while_let_loop | Alan Du | 2019-06-04 | 1 | -15/+11 |
| | |||||
* | Fix clippy::or_fun_call | Alan Du | 2019-06-04 | 2 | -3/+3 |
| | |||||
* | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 1 | -2/+2 |
| | |||||
* | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 2 | -4/+4 |
| | |||||
* | Merge #1281 | bors[bot] | 2019-05-22 | 3 | -117/+263 |
|\ | | | | | | | | | | | | | | | 1281: Move arm cond to match guard r=matklad a=unrealhoang I did split the rename to another commit, yet Github UI still show entirely new file change. Please review using commits. Co-authored-by: Unreal Hoang <[email protected]> | ||||
| * | add assist to move arm condition to match guard | Unreal Hoang | 2019-05-21 | 3 | -117/+263 |
| | |