Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tiny simplification | Aleksey Kladov | 2019-09-09 | 1 | -2/+2 |
| | |||||
* | always wrap block into an expression | Aleksey Kladov | 2019-09-02 | 1 | -0/+5 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -7/+7 |
| | |||||
* | Merge #1676 | bors[bot] | 2019-08-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 1676: Fix for<'lifetime> for types specified by path r=matklad a=eupn Fixes #1467. Co-authored-by: Evgenii P <[email protected]> | ||||
| * | Fix is_path_start to accept T![<], fix is_path_start usages | Evgenii P | 2019-08-13 | 1 | -1/+1 |
| | | |||||
* | | Merge #1636 | bors[bot] | 2019-08-13 | 1 | -7/+12 |
|\ \ | |/ |/| | | | | | | | | | | | 1636: fix block parse problem r=matklad a=bravomikekilo try to fix [issue-1598](https://github.com/rust-analyzer/rust-analyzer/issues/1598). Co-authored-by: bravomikekilo <[email protected]> | ||||
| * | add inline test | bravomikekilo | 2019-08-13 | 1 | -0/+6 |
| | | |||||
| * | fix block parse problem | bravomikekilo | 2019-08-03 | 1 | -7/+6 |
| | | |||||
* | | Move numeric names inside of `NameRef` | Aleksey Kladov | 2019-08-09 | 1 | -6/+4 |
| | | |||||
* | | Make name_ref to accept numeric names optionally | Evgenii P | 2019-08-09 | 1 | -3/+3 |
| | | |||||
* | | Parse tuple struct field initialization | Evgenii P | 2019-08-09 | 1 | -1/+2 |
|/ | |||||
* | add await to syntax, parser for await_expr | Unreal Hoang | 2019-07-20 | 1 | -0/+12 |
| | |||||
* | fixed #1384 | zjy | 2019-06-28 | 1 | -0/+11 |
| | |||||
* | fix: never type with binding | csmoe | 2019-06-07 | 1 | -1/+3 |
| | | | | Change-Id: I14e1bc628b9d2dfdb1f40de3d3707f4e872767f2 | ||||
* | Fix clippy::if_same_then_else | Alan Du | 2019-06-04 | 1 | -0/+1 |
| | |||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 1 | -78/+78 |
| | |||||
* | Simplify | kjeremy | 2019-04-26 | 1 | -6/+6 |
| | |||||
* | 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 | 1 | -9/+41 |
| | |||||
* | Parse and infer tuple indices | robojumper | 2019-04-06 | 1 | -1/+12 |
| | |||||
* | Fix parsing <= in type_args | Ville Penttinen | 2019-03-30 | 1 | -0/+1 |
| | |||||
* | 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 | 1 | -32/+51 |
| | | | | | | A top level expression is either - a expression statement or - the last expression in a block | ||||
* | Merge #991 | bors[bot] | 2019-03-18 | 1 | -2/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -2/+0 |
| | | | | | | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path | ||||
* | | Merge #987 | bors[bot] | 2019-03-18 | 1 | -38/+32 |
|\| | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -4/+4 |
| | | |||||
| * | Refactor maybe_item to use Marker argument | pcpthm | 2019-03-17 | 1 | -39/+33 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 |
|/ | |||||
* | extract block contents into a function | Aleksey Kladov | 2019-03-04 | 1 | -2/+6 |
| | |||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 1 | -0/+473 |