Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |||||
| * | | more realistic test for incrementality | Aleksey Kladov | 2019-03-26 | 1 | -5/+22 | |
| | | | ||||||
| * | | Merge #1059 | bors[bot] | 2019-03-26 | 11 | -209/+233 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1059: Typed ids r=matklad a=matklad just some type-safety and refactorings. closes https://github.com/rust-analyzer/rust-analyzer/issues/1054 bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | | reduce visibility | Aleksey Kladov | 2019-03-26 | 2 | -12/+12 | |
| | | | | ||||||
| | * | | rename | Aleksey Kladov | 2019-03-26 | 7 | -56/+44 | |
| | | | | ||||||
| | * | | simplify | Aleksey Kladov | 2019-03-26 | 3 | -21/+21 | |
| | | | | ||||||
| | * | | make stuff private | Aleksey Kladov | 2019-03-26 | 1 | -26/+14 | |
| | | | | ||||||
| | * | | more type safety | Aleksey Kladov | 2019-03-26 | 5 | -63/+82 | |
| | | | | ||||||
| | * | | strongy-typed ids for macros | Aleksey Kladov | 2019-03-26 | 4 | -33/+19 | |
| | | | | ||||||
| | * | | add typed ids | Aleksey Kladov | 2019-03-26 | 7 | -45/+88 | |
| | | | | ||||||
| * | | | Merge #1051 | bors[bot] | 2019-03-26 | 5 | -378/+391 | |
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 1051: Move ra_ide_api unit tests r=matklad a=detrumi Closes #1048 Co-authored-by: Wilco Kusee <[email protected]> | |||||
| | * | | Move ra_ide_api unit tests | Wilco Kusee | 2019-03-25 | 5 | -378/+391 | |
| | | | | ||||||
| * | | | remove some dead code | Aleksey Kladov | 2019-03-26 | 1 | -17/+1 | |
| | | | | ||||||
| * | | | simplify | Aleksey Kladov | 2019-03-26 | 3 | -8/+6 | |
| | | | | ||||||
| * | | | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 8 | -120/+128 | |
| | | | | ||||||
| * | | | make macro parsing a query | Aleksey Kladov | 2019-03-26 | 3 | -5/+8 | |
| | | | | ||||||
| * | | | reduce visibility | Aleksey Kladov | 2019-03-26 | 1 | -23/+27 | |
| | | | | ||||||
| * | | | store macro def inside macro id | Aleksey Kladov | 2019-03-26 | 7 | -119/+73 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def! | |||||
| * | | | Clean up comments / use nicer Iterator methods | Florian Diebold | 2019-03-25 | 2 | -10/+15 | |
| | | | | ||||||
| * | | | Implement a very naive implements check | Florian Diebold | 2019-03-25 | 4 | -12/+50 | |
| | | | | | | | | | | | | | | | | ... to make the infer_trait_method_simple test have the correct result. |