Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1076 | bors[bot] | 2019-04-02 | 10 | -49/+231 |
|\ | | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]> | ||||
| * | made ExprCollector pub(crate) and moved | Lenard Pratt | 2019-04-02 | 2 | -14/+11 |
| | | | | | | | | collect_fn_body_syntax | ||||
| * | Added const bodies and static body to the ast | Lenard Pratt | 2019-04-02 | 10 | -91/+180 |
| | | | | | | | | | | | | and added inference the inference test reduce code duplication | ||||
| * | Added defWithBody | Lenard Pratt | 2019-03-30 | 7 | -24/+120 |
| | | |||||
* | | Merge #1093 | bors[bot] | 2019-04-02 | 7 | -400/+336 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1093: simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | simplify | Aleksey Kladov | 2019-04-02 | 7 | -400/+336 |
| | | | |||||
* | | | always produce source for import | Aleksey Kladov | 2019-04-02 | 6 | -29/+70 |
|/ / | |||||
* | | Merge #1090 | bors[bot] | 2019-04-02 | 221 | -8921/+8921 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1090: always show token text r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | always show token text | Aleksey Kladov | 2019-04-02 | 221 | -8921/+8921 |
| | | | |||||
* | | | fix inner block doc comments | Aleksey Kladov | 2019-04-02 | 1 | -1/+1 |
|/ / | |||||
* | | fix a panic with glob-import missing a source map | Aleksey Kladov | 2019-04-02 | 5 | -23/+26 |
| | | |||||
* | | add minimal comments | Aleksey Kladov | 2019-04-02 | 5 | -0/+13 |
| | | |||||
* | | rename flavor to kind | Aleksey Kladov | 2019-04-02 | 6 | -53/+53 |
| | | |||||
* | | move extensions to submodules | Aleksey Kladov | 2019-04-02 | 3 | -549/+566 |
| | | |||||
* | | remove flavor | Aleksey Kladov | 2019-04-02 | 3 | -10/+10 |
| | | |||||
* | | More future-proof comment kind | Aleksey Kladov | 2019-04-02 | 4 | -36/+58 |
| | | |||||
* | | fix comment naming | Aleksey Kladov | 2019-04-02 | 2 | -13/+15 |
| | | |||||
* | | allow empty doc comments | Aleksey Kladov | 2019-04-02 | 1 | -4/+6 |
| | | |||||
* | | add ast::tokens | Aleksey Kladov | 2019-04-02 | 10 | -119/+124 |
| | | |||||
* | | simplify | Aleksey Kladov | 2019-04-02 | 1 | -23/+19 |
| | | |||||
* | | move ast traits to a separate file | Aleksey Kladov | 2019-04-02 | 2 | -144/+155 |
| | | |||||
* | | Merge #1084 | bors[bot] | 2019-04-01 | 3 | -37/+0 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1084: remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | remove dead code | Aleksey Kladov | 2019-04-01 | 3 | -37/+0 |
| | | | |||||
* | | | intelligently add parens when inlining local varaibles | gfreezy | 2019-04-01 | 5 | -45/+402 |
|/ / | |||||
* | | Merge #1082 | bors[bot] | 2019-04-01 | 3 | -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 position | Andrey Tkachenko | 2019-04-01 | 3 | -0/+96 |
| | | | |||||
* | | | Merge #1067 | bors[bot] | 2019-04-01 | 1 | -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]> | ||||
| * | | | Simplify | kjeremy | 2019-03-27 | 1 | -13/+14 |
| | | | | |||||
| * | | | Take number of arguments at the call-site into account for signature help | kjeremy | 2019-03-27 | 1 | -1/+22 |
| | | | | | | | | | | | | | | | | Fixes #1065 | ||||
* | | | | Merge #1081 | bors[bot] | 2019-04-01 | 4 | -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 syntax | robojumper | 2019-03-31 | 4 | -9/+66 |
| | | | | |||||
* | | | | switch to new rowan | Aleksey Kladov | 2019-04-01 | 49 | -1220/+1019 |
|/ / / | |||||
* | | | Add WherePred to allow predicate access in WhereClause | Ville Penttinen | 2019-03-31 | 5 | -8/+132 |
| | | | | | | | | | | | | | | | This also unifies parsing of WHERE_PRED bounds, now Lifetime bounds will also be parsed using TYPE_BOUND_LIST | ||||
* | | | Merge #1072 | bors[bot] | 2019-03-31 | 4 | -3/+43 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1072: recognize async move blocks r=matklad a=memoryruins closes #1053 Co-authored-by: memoryruins <[email protected]> | ||||
| * | | | add test for async blocks | memoryruins | 2019-03-28 | 2 | -0/+40 |
| | | | | |||||
| * | | | recognize async move | memoryruins | 2019-03-28 | 2 | -3/+3 |
| | |/ | |/| | |||||
* | | | Add trait ast::TypeBoundsOwner | Ville Penttinen | 2019-03-31 | 3 | -5/+21 |
| | | | |||||
* | | | Update tests | Ville Penttinen | 2019-03-31 | 3 | -67/+115 |
| | | | |||||
* | | | Change parsing bounds in path_types | Ville Penttinen | 2019-03-31 | 2 | -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 function | Ville Penttinen | 2019-03-30 | 1 | -19/+26 |
| | | | |||||
* | | | Update tests | Ville Penttinen | 2019-03-30 | 25 | -418/+634 |
| | | | |||||
* | | | Add new TYPE_BOUND_LIST and TYPE_BOUND syntax kinds | Ville Penttinen | 2019-03-30 | 5 | -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 +. | ||||
* | | | Fix parsing <= in type_args | Ville Penttinen | 2019-03-30 | 4 | -6/+29 |
|/ / | |||||
* | | Add tests to ra_syntax for extern_crate_self | memoryruins | 2019-03-28 | 2 | -1/+17 |
| | | |||||
* | | Add extern_crate_self to ra_parser. | memoryruins | 2019-03-28 | 1 | -0/+4 |
| | | |||||
* | | update salsa some more | Aleksey Kladov | 2019-03-27 | 1 | -1/+1 |
|/ | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-03-27 | 1 | -1/+1 |
| | |||||
* | Use EXE extension for pre-commit hook on Window | Hrvoje Ban | 2019-03-27 | 1 | -1/+5 |
| | |||||
* | Flip any binary expression except assignments. | Marco Groppo | 2019-03-26 | 1 | -64/+56 |
| | |||||
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into ↵ | Marco Groppo | 2019-03-26 | 25 | -811/+990 |
|\ | | | | | | | flip-binexpr |