Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ra_parser -> parser | Aleksey Kladov | 2020-08-12 | 1 | -611/+0 |
| | |||||
* | Rename LambdaExpr -> ClosureExpr | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Fix parsing of blocks without `{` | Aleksey Kladov | 2020-05-02 | 1 | -18/+23 |
| | |||||
* | Cleanup inline tests | Aleksey Kladov | 2020-05-02 | 1 | -2/+4 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -11/+18 |
| | |||||
* | Revert "Merge #4233" | Aleksey Kladov | 2020-05-02 | 1 | -3/+3 |
| | | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336. | ||||
* | Remove dead code, which elaborately pretends to be alive | Aleksey Kladov | 2020-04-30 | 1 | -3/+3 |
| | |||||
* | Special-case try macro to better support 2015 edition | Aleksey Kladov | 2020-04-30 | 1 | -0/+16 |
| | |||||
* | Fix parsing lambdas with return type | Aleksey Kladov | 2020-03-25 | 1 | -7/+13 |
| | | | | | | | We should eat only a single block, and not whatever larger expression may start with a block. closes #3721 | ||||
* | Better fix for stuck parser? | Florian Diebold | 2020-03-16 | 1 | -3/+3 |
| | |||||
* | Get tests working | Florian Diebold | 2020-03-16 | 1 | -2/+2 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -4/+2 |
| | |||||
* | Add or- and parenthesized-patterns | Matthew Jasper | 2020-02-09 | 1 | -2/+2 |
| | |||||
* | Rework value parameter parsing | Toby Dimmick | 2020-02-06 | 1 | -1/+1 |
| | | | | | | | - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident | ||||
* | Extract expr_with_attrs | Aleksey Kladov | 2020-01-17 | 1 | -13/+2 |
| | |||||
* | Minimize test | Aleksey Kladov | 2020-01-16 | 1 | -13/+3 |
| | |||||
* | Simplify array parsing | Aleksey Kladov | 2020-01-16 | 1 | -26/+31 |
| | |||||
* | Fix array element attribute position | Edwin Cheng | 2020-01-16 | 1 | -6/+8 |
| | |||||
* | Touch up TokenSet a bit | Aleksey Kladov | 2019-12-19 | 1 | -1/+1 |
| | |||||
* | Fix parsing of interpolated expressions | Aleksey Kladov | 2019-12-19 | 1 | -0/+1 |
| | |||||
* | Improve recovery for incomplete lambdas | Aleksey Kladov | 2019-12-17 | 1 | -1/+6 |
| | |||||
* | Simplify parsing | Aleksey Kladov | 2019-11-14 | 1 | -17/+17 |
| | |||||
* | fix parsing of for loops inside expressions | Aleksey Kladov | 2019-10-28 | 1 | -1/+2 |
| | | | | closes #2051 | ||||
* | Fix parsing of block expressions in "forbid_structs" contexts. | Geoffry Song | 2019-10-03 | 1 | -5/+5 |
| | | | | | | Forbidding block expressions entirely is too strict; instead, we should only forbid them in contexts where we are parsing an optional RHS (i.e. the RHS of a range expression). | ||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Support loop as argument | kjeremy | 2019-09-20 | 1 | -0/+1 |
| | |||||
* | Replace usages of bump_any with bump | kjeremy | 2019-09-19 | 1 | -16/+16 |
| | |||||
* | cleanup dollar handling in expressions | Aleksey Kladov | 2019-09-10 | 1 | -0/+25 |
| | |||||
* | rename bump -> bump_any | Aleksey Kladov | 2019-09-09 | 1 | -18/+18 |
| | |||||
* | always wrap block into an expression | Aleksey Kladov | 2019-09-02 | 1 | -2/+2 |
| | |||||
* | Centralize `box` pattern tests in `patterns.rs` | Dylan MacKenzie | 2019-08-24 | 1 | -2/+0 |
| | |||||
* | Add test for nested box pattern | Dylan MacKenzie | 2019-08-22 | 1 | -0/+2 |
| | |||||
* | Merge #1685 | bors[bot] | 2019-08-15 | 1 | -1/+13 |
|\ | | | | | | | | | | | | | | | 1685: fix error of RangeFrom in for-loop r=DJMcNab a=bravomikekilo fix [issue-1542](https://github.com/rust-analyzer/rust-analyzer/issues/1542) @matklad Co-authored-by: bravomikekilo <[email protected]> | ||||
| * | fix test position | bravomikekilo | 2019-08-14 | 1 | -10/+6 |
| | | |||||
| * | fix error of RangeFrom in for-loop | bravomikekilo | 2019-08-14 | 1 | -1/+17 |
| | | |||||
* | | Fix is_path_start to accept T![<], fix is_path_start usages | Evgenii P | 2019-08-13 | 1 | -1/+1 |
|/ | |||||
* | fix: parse box syntax inside parentheses | csmoe | 2019-07-22 | 1 | -0/+3 |
| | |||||
* | Remove parse error on array initializer attributes | Ryan Cumming | 2019-06-30 | 1 | -11/+0 |
| | | | | | This is actually allowed by the `rustc` parser but most attributes will fail later due to attributes on expressions being experimental. | ||||
* | Support attributes on array members | Ryan Cumming | 2019-06-30 | 1 | -0/+28 |
| | | | | | | | | | | | | Array members are allow to have attributes such as `#[cfg]`. This is a bit tricky as we don't know if the first expression is an initializer or a member until we encounter a `;`. This reuses a trick from `stmt` where we remember if we saw an attribute and then raise an error if the first expression ends up being an initializer. This isn't perfect as the error isn't correctly located on the attribute or initializer; it ends up immediately after the `;`. | ||||
* | fix: box_pattern | csmoe | 2019-06-19 | 1 | -0/+15 |
| | | | | Change-Id: I45a856d74fb616d3bce33050f9e69d327186bd59 | ||||
* | [#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 |
| | |||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 1 | -72/+72 |
| | |||||
* | 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 | 1 | -2/+12 |
|/ | |||||
* | recognize async move | memoryruins | 2019-03-28 | 1 | -2/+2 |
| | |||||
* | Allow attributes on top level expression | pcpthm | 2019-03-19 | 1 | -2/+2 |
| | | | | | | A top level expression is either - a expression statement or - the last expression in a block | ||||
* | Fix parse tree of attribute on match arm | pcpthm | 2019-03-17 | 1 | -15/+15 |
| | |||||
* | Add async keyword | Caio | 2019-03-09 | 1 | -0/+5 |
| |