aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Fix prettier errorEdwin Cheng2019-04-024-22/+31
| | | | | |
| * | | | | Fixed tslint errorEdwin Cheng2019-04-021-1/+1
| | | | | |
| * | | | | Fix tslint errorEdwin Cheng2019-04-022-63/+65
| | | | | |
| * | | | | Improve cargo-watch usageEdwin Cheng2019-04-024-36/+177
| | | | | |
* | | | | | Merge #1088bors[bot]2019-04-029-582/+612
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1088: add minimal comments r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | add minimal commentsAleksey Kladov2019-04-025-0/+13
| | | | | |
| * | | | | rename flavor to kindAleksey Kladov2019-04-026-53/+53
| | | | | |
| * | | | | move extensions to submodulesAleksey Kladov2019-04-023-549/+566
| | | | | |
| * | | | | remove flavorAleksey Kladov2019-04-023-10/+10
| | | | | |
* | | | | | Merge #1087bors[bot]2019-04-024-36/+58
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1087: More future-proof comment kind r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | More future-proof comment kindAleksey Kladov2019-04-024-36/+58
|/ / / / /
* | | | | Merge #1085bors[bot]2019-04-0211-276/+292
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1085: add ast::tokens r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | fix comment namingAleksey Kladov2019-04-022-13/+15
| | | | |
| * | | | allow empty doc commentsAleksey Kladov2019-04-021-4/+6
| | | | |
| * | | | add ast::tokensAleksey Kladov2019-04-0210-119/+124
| | | | |
| * | | | simplifyAleksey Kladov2019-04-021-23/+19
| | | | |
| * | | | move ast traits to a separate fileAleksey Kladov2019-04-022-144/+155
|/ / / /
* | | | Merge #1084bors[bot]2019-04-013-37/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1084: remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | remove dead codeAleksey Kladov2019-04-013-37/+0
| | | | |
* | | | | Merge #1050bors[bot]2019-04-015-45/+402
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1050: Intelligently add parens when inlining local varaibles r=matklad a=gfreezy fixed this. https://github.com/rust-analyzer/rust-analyzer/pull/1037#discussion_r268627141 Co-authored-by: gfreezy <[email protected]>
| * | | | intelligently add parens when inlining local varaiblesgfreezy2019-04-015-45/+402
|/ / / /
* | | | Merge #1082bors[bot]2019-04-013-0/+96
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1082: Async block in argument position r=matklad a=andreytkachenko Fixes case when async block appears in argument position Co-authored-by: Andrey Tkachenko <[email protected]>
| * | | | Async block in argument positionAndrey Tkachenko2019-04-013-0/+96
| | | | |
* | | | | Merge #1067bors[bot]2019-04-011-6/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1067: Take number of arguments at the call-site into account for signature help r=matklad a=kjeremy Fixes #1065 Co-authored-by: kjeremy <[email protected]>
| * | | | | Simplifykjeremy2019-03-271-13/+14
| | | | | |
| * | | | | Take number of arguments at the call-site into account for signature helpkjeremy2019-03-271-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #1065
* | | | | | Merge #1081bors[bot]2019-04-014-9/+66
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1081: Async closure syntax r=matklad a=robojumper Fixes #1080. Also fixes an error introduced by #1072 where something like `async move "foo"` in expression position would trigger the assertion in `block_expr`. Co-authored-by: robojumper <[email protected]>
| * | | | | Async closure syntaxrobojumper2019-03-314-9/+66
| | | | | |
* | | | | | Merge #1078bors[bot]2019-04-0150-1228/+1027
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1078: rewrite syntax trees r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | switch to new rowanAleksey Kladov2019-04-0150-1228/+1027
|/ / / / /
* | | | | Merge #1038bors[bot]2019-03-315-8/+132
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1038: Add WherePred to allow predicate access in WhereClause r=matklad a=vipentti Lifetime bounds in where predicates are now also parsed into `TYPE_BOUND_LIST` to allow unified access to bounds. Co-authored-by: Ville Penttinen <[email protected]>
| * | | | | Add WherePred to allow predicate access in WhereClauseVille Penttinen2019-03-315-8/+132
|/ / / / / | | | | | | | | | | | | | | | | | | | | This also unifies parsing of WHERE_PRED bounds, now Lifetime bounds will also be parsed using TYPE_BOUND_LIST
* | | | | Merge #1072bors[bot]2019-03-314-3/+43
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1072: recognize async move blocks r=matklad a=memoryruins closes #1053 Co-authored-by: memoryruins <[email protected]>
| * | | | | add test for async blocksmemoryruins2019-03-282-0/+40
| | | | | |
| * | | | | recognize async movememoryruins2019-03-282-3/+3
| | |_|_|/ | |/| | |
* | | | | Merge #1077bors[bot]2019-03-3133-507/+916
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1077: Improve parsing of type bounds r=matklad a=vipentti This adds new TYPE_BOUND_LIST and TYPE_BOUND syntax kinds. These are now used when parsing type bounds. In addition parsing paths inside a bound now does not recursively parse paths, rather they are treated as separate bounds, separated by +. Basically now the generic params `struct S<T: 'a + ?Sized + (Copy)>;` in will be parsed as ``` TYPE_PARAM_LIST@[8; 33) L_ANGLE@[8; 9) TYPE_PARAM@[9; 32) NAME@[9; 10) IDENT@[9; 10) "T" COLON@[10; 11) WHITESPACE@[11; 12) TYPE_BOUND_LIST@[12; 32) TYPE_BOUND@[12; 14) LIFETIME@[12; 14) "'a" WHITESPACE@[14; 15) PLUS@[15; 16) WHITESPACE@[16; 17) TYPE_BOUND@[17; 23) QUESTION@[17; 18) PATH_TYPE@[18; 23) PATH@[18; 23) PATH_SEGMENT@[18; 23) NAME_REF@[18; 23) IDENT@[18; 23) "Sized" WHITESPACE@[23; 24) PLUS@[24; 25) WHITESPACE@[25; 26) TYPE_BOUND@[26; 32) L_PAREN@[26; 27) PATH_TYPE@[27; 31) PATH@[27; 31) PATH_SEGMENT@[27; 31) NAME_REF@[27; 31) IDENT@[27; 31) "Copy" R_PAREN@[31; 32) R_ANGLE@[32; 33) ``` Previously it was parsed, with the paths nested: ``` TYPE_PARAM_LIST@[8; 33) L_ANGLE@[8; 9) TYPE_PARAM@[9; 32) NAME@[9; 10) IDENT@[9; 10) "T" COLON@[10; 11) WHITESPACE@[11; 12) LIFETIME@[12; 14) "'a" WHITESPACE@[14; 15) PLUS@[15; 16) WHITESPACE@[16; 17) QUESTION@[17; 18) PATH_TYPE@[18; 32) PATH@[18; 23) PATH_SEGMENT@[18; 23) NAME_REF@[18; 23) IDENT@[18; 23) "Sized" WHITESPACE@[23; 24) PLUS@[24; 25) WHITESPACE@[25; 26) L_PAREN@[26; 27) PATH_TYPE@[27; 31) PATH@[27; 31) PATH_SEGMENT@[27; 31) NAME_REF@[27; 31) IDENT@[27; 31) "Copy" R_PAREN@[31; 32) R_ANGLE@[32; 33) ``` Looking for feedback. Co-authored-by: Ville Penttinen <[email protected]>
| * | | | | Add trait ast::TypeBoundsOwnerVille Penttinen2019-03-313-5/+21
| | | | | |
| * | | | | Update testsVille Penttinen2019-03-313-67/+115
| | | | | |
| * | | | | Change parsing bounds in path_typesVille Penttinen2019-03-312-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now bounds inside a path are parsed as DYN_TRAIT_TYPE, previously they would be parsed as `PATH_TYPE` followed by `TYPE_BOUND_LIST`. Basically this means `Box<T + 'f>` is now parsed almost the same as `Box<dyn T + 'f>` with the exception of not having the `dyn` keyword.
| * | | | | Move parsing a single TYPE_BOUND to a separate functionVille Penttinen2019-03-301-19/+26
| | | | | |
| * | | | | Update testsVille Penttinen2019-03-3025-418/+634
| | | | | |
| * | | | | Add new TYPE_BOUND_LIST and TYPE_BOUND syntax kindsVille Penttinen2019-03-305-2/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are now used when parsing type bounds. In addition parsing paths inside a bound now does not recursively parse paths, rather they are treated as separate bounds, separated by +.
* | | | | | kill ra.el: it is superseeded by the lsp integraionAleksey Kladov2019-03-301-128/+0
|/ / / / /
* | | | | Merge #1075bors[bot]2019-03-304-6/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1075: Fix parsing <= in type_args r=matklad a=vipentti Fixes #1074 Co-authored-by: Ville Penttinen <[email protected]>
| * | | | | Fix parsing <= in type_argsVille Penttinen2019-03-304-6/+29
|/ / / / /
* / / / / fix typoAleksey Kladov2019-03-291-1/+1
|/ / / /
* | | | Merge #1071bors[bot]2019-03-281-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1071: Fix emacs-lsp runnables support with native json r=matklad a=flodiebold (In that case args is a vector, which string-join doesn't like.) Co-authored-by: Florian Diebold <[email protected]>
| * | | Fix emacs-lsp runnables support with native jsonFlorian Diebold2019-03-281-1/+1
|/ / / | | | | | | | | | (In that case args is a vector, which string-join doesn't like.)
* | | Merge #1070bors[bot]2019-03-283-1/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1070: Support extern_crate_self r=matklad a=memoryruins closes #1069 Co-authored-by: memoryruins <[email protected]>
| * | | Add tests to ra_syntax for extern_crate_selfmemoryruins2019-03-282-1/+17
| | | |