Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fix: box_pattern | csmoe | 2019-06-19 | 3 | -5/+18 | |
| | | | | | | | | Change-Id: I45a856d74fb616d3bce33050f9e69d327186bd59 | |||||
* | | fix: box_syntax(#1412) | csmoe | 2019-06-18 | 1 | -0/+5 | |
|/ | | | | Change-Id: I6e20e0163fa545de37226c1561b3b7103615626c | |||||
* | fix: support existential type | csmoe | 2019-06-12 | 1 | -3/+13 | |
| | ||||||
* | fix: never type with binding | csmoe | 2019-06-07 | 1 | -1/+3 | |
| | | | | Change-Id: I14e1bc628b9d2dfdb1f40de3d3707f4e872767f2 | |||||
* | [#1083] Try block syntax: fix tests | Andrey Tkachenko | 2019-06-06 | 1 | -7/+7 | |
| | ||||||
* | [#1083] Try block syntax | Andrey Tkachenko | 2019-06-06 | 1 | -1/+17 | |
| | ||||||
* | Fix clippy::if_same_then_else | Alan Du | 2019-06-04 | 1 | -0/+1 | |
| | ||||||
* | reformat | Aleksey Kladov | 2019-05-23 | 4 | -8/+8 | |
| | ||||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 14 | -423/+423 | |
| | ||||||
* | Add macro pat parsing | Edwin Cheng | 2019-04-30 | 1 | -1/+10 | |
| | ||||||
* | Refactor parser handle mult-char punct internally | Edwin Cheng | 2019-04-28 | 1 | -1/+1 | |
| | ||||||
* | Simplify | kjeremy | 2019-04-26 | 1 | -6/+6 | |
| | ||||||
* | Add `...` parsing for fn pointer type | Edwin Cheng | 2019-04-23 | 2 | -2/+3 | |
| | ||||||
* | Add expr, pat, ty and macro_stmts | Edwin Cheng | 2019-04-18 | 1 | -10/+34 | |
| | ||||||
* | Add mbe stmt matcher | Edwin Cheng | 2019-04-17 | 1 | -72/+82 | |
| | ||||||
* | Fix bug and add expr , pat , ty matcher | Edwin Cheng | 2019-04-14 | 2 | -10/+42 | |
| | ||||||
* | Parse and infer tuple indices | robojumper | 2019-04-06 | 1 | -1/+12 | |
| | ||||||
* | Parse unsafe async / const unsafe fns properly | robojumper | 2019-04-03 | 1 | -6/+17 | |
| | ||||||
* | Merge #1082 | bors[bot] | 2019-04-01 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | 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 | 1 | -0/+1 | |
| | | ||||||
* | | Async closure syntax | robojumper | 2019-03-31 | 2 | -3/+13 | |
|/ | ||||||
* | Add WherePred to allow predicate access in WhereClause | Ville Penttinen | 2019-03-31 | 1 | -1/+1 | |
| | | | | | 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 | 2 | -3/+3 | |
|\ | | | | | | | | | | | | | | | 1072: recognize async move blocks r=matklad a=memoryruins closes #1053 Co-authored-by: memoryruins <[email protected]> | |||||
| * | recognize async move | memoryruins | 2019-03-28 | 2 | -3/+3 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Add new TYPE_BOUND_LIST and TYPE_BOUND syntax kinds | Ville Penttinen | 2019-03-30 | 2 | -2/+10 | |
| | | | | | | | | | | | | 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 | 2 | -0/+2 | |
|/ | ||||||
* | Support references in higher-ranked trait bounds | Ville Penttinen | 2019-03-24 | 1 | -0/+3 | |
| | | | | Fixes #1020 | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 4 | -5/+5 | |
| | ||||||
* | Replace `contract_child` to a less ad-hoc API | pcpthm | 2019-03-19 | 1 | -10/+10 | |
| | ||||||
* | Error about attributes on | pcpthm | 2019-03-19 | 1 | -12/+23 | |
| | | | | unallowed types of expression statement | |||||
* | Allow attributes on top level expression | pcpthm | 2019-03-19 | 2 | -34/+53 | |
| | | | | | | A top level expression is either - a expression statement or - the last expression in a block | |||||
* | Merge #991 | bors[bot] | 2019-03-18 | 5 | -68/+52 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 991: Use Marker argument for item parsers r=matklad a=pcpthm Before doing this for expressions, I found that the pattern (Marker argument) should be applied to the item parsers because visiblity and modifiers are parsed in a separate function. Fixed some parser bugs: - Fix pub_expr: `pub 42;` was allowed. - Fix incorrect parsing of crate::path: incorrectly parsed as `crate` as a visibility. Co-authored-by: pcpthm <[email protected]> | |||||
| * | Use Marker argument for item parsers | pcpthm | 2019-03-18 | 5 | -68/+52 | |
| | | | | | | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path | |||||
* | | Merge #987 | bors[bot] | 2019-03-18 | 2 | -84/+70 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | 987: Refactor maybe_item to use Marker argument r=pcpthm a=pcpthm As suggested at <https://github.com/rust-analyzer/rust-analyzer/pull/980#issuecomment-473659745>. For expression paring functions, changing signature - from `fn(&mut Parser) -> Option<CompletedMarker>` to `fn(&mut Parser, Marker) -> Result<CompletedMarker, Marker>` - from `fn(&mut Parser) -> CompletedMarker` to `fn(&mut Parser, Marker) -> CompletedMarker` is my plan. Co-authored-by: pcpthm <[email protected]> | |||||
| * | Apply stylistic changes suggested | pcpthm | 2019-03-18 | 2 | -17/+14 | |
| | | ||||||
| * | Refactor maybe_item to use Marker argument | pcpthm | 2019-03-17 | 2 | -86/+75 | |
| | | ||||||
* | | Merge #983 | bors[bot] | 2019-03-17 | 1 | -0/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 983: support remainder assignment operator r=matklad a=JeanMertz `%=` was returning errors for me, turns out it wasn't added as a valid assignment operation. I'm not sure what the best location would be to add a test for this. Please let me know and I'll add one. Co-authored-by: Jean Mertz <[email protected]> | |||||
| * | | support remainder assignment operator | Jean Mertz | 2019-03-17 | 1 | -0/+1 | |
| | | | ||||||
* | | | Fix parse tree of attribute on match arm | pcpthm | 2019-03-17 | 1 | -15/+15 | |
| |/ |/| | ||||||
* | | Merge #985 | bors[bot] | 2019-03-17 | 1 | -57/+56 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 985: simplify parsing blocks a bit r=pcpthm a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | simplify parsing blocks a bit | Aleksey Kladov | 2019-03-17 | 1 | -57/+56 | |
| |/ | ||||||
* / | Allow attribute on struct literal field | pcpthm | 2019-03-17 | 1 | -1/+6 | |
|/ | ||||||
* | Allow MINUS at the start of a pattern. | Michael Chesser | 2019-03-14 | 1 | -1/+1 | |
| | ||||||
* | Add test for async block | Caio | 2019-03-10 | 1 | -1/+2 | |
| | ||||||
* | Add async keyword | Caio | 2019-03-09 | 2 | -1/+14 | |
| | ||||||
* | Introduce pattern_list to parse pipe separated patterns | Ville Penttinen | 2019-03-05 | 2 | -10/+18 | |
| | | | | | pattern_list comes in two variants, one uses the default PAT_RECOVERY_SET as the recovery set, while other allows the user to provide a recovery set. | |||||
* | Add support for parsing multiple if and while-let patterns | Ville Penttinen | 2019-03-04 | 1 | -0/+10 | |
| | ||||||
* | allow `mut ident` patterns in trait methods | Aleksey Kladov | 2019-03-04 | 1 | -1/+2 | |
| | | | | closes #928 |