Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Report invalid, nested, multi-segment crate-paths | John Renner | 2020-04-30 | 2 | -50/+65 |
| | | | | | | | | | | Specifically, things like: use foo::{crate::bar}; Are now being caught, when before we only caught: use foo::{crate}; | ||||
* | Validate the location of `crate` in paths | John Renner | 2020-04-29 | 2 | -0/+80 |
| | |||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 38 | -3033/+3033 |
| | |||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 26 | -96/+96 |
| | |||||
* | Migrate tests .txt -> .rast | veetaha | 2020-04-06 | 38 | -0/+0 |
| | | | | | | | | The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files. | ||||
* | Fix parsing lambdas with return type | Aleksey Kladov | 2020-03-25 | 1 | -14/+16 |
| | | | | | | | We should eat only a single block, and not whatever larger expression may start with a block. closes #3721 | ||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 4 | -5/+5 |
| | |||||
* | ra_syntax: migrate test data to 0-length text-range of SyntaxError when ↵ | Veetaha | 2020-02-17 | 34 | -208/+208 |
| | | | | constructed from TextUnit | ||||
* | ra_syntax: reshape SyntaxError for the sake of removing redundancy | Veetaha | 2020-02-17 | 35 | -211/+211 |
| | |||||
* | Nest attrs into exprs in function args | Aleksey Kladov | 2020-01-17 | 1 | -18/+12 |
| | |||||
* | Extract expr_with_attrs | Aleksey Kladov | 2020-01-17 | 1 | -10/+14 |
| | |||||
* | Simplify array parsing | Aleksey Kladov | 2020-01-16 | 1 | -20/+13 |
| | |||||
* | Add macro 2.0 support in parser | Edwin Cheng | 2019-12-21 | 2 | -343/+0 |
| | |||||
* | Improve recovery for incomplete lambdas | Aleksey Kladov | 2019-12-17 | 2 | -0/+88 |
| | |||||
* | Attempt to implement typed accessors | Geoffry Song | 2019-11-15 | 1 | -1/+1 |
| | |||||
* | Move inclusive range check to validation | Geoffry Song | 2019-11-15 | 2 | -8/+15 |
| | |||||
* | Fix parsing of "postfix" range expressions. | Geoffry Song | 2019-11-15 | 2 | -0/+27 |
| | | | | | | | | | | Right now they are handled in `postfix_dot_expr`, but that doesn't allow it to correctly handle precedence. Integrate it more tightly with the Pratt parser instead. Also includes a drive-by fix for parsing `match .. {}`. Fixes #2242. | ||||
* | Forbid visibility qualifiers in traits | Aleksey Kladov | 2019-11-11 | 2 | -0/+105 |
| | |||||
* | fix parsing of for loops inside expressions | Aleksey Kladov | 2019-10-28 | 1 | -48/+43 |
| | | | | closes #2051 | ||||
* | Parse correct AttrInput | uHOOCCOOHu | 2019-09-30 | 5 | -84/+102 |
| | |||||
* | fix infinite loop in the parser | Aleksey Kladov | 2019-09-20 | 2 | -0/+53 |
| | | | | closes #1866 | ||||
* | better error recovery for use trees | Aleksey Kladov | 2019-09-05 | 3 | -1/+60 |
| | |||||
* | update test data | Aleksey Kladov | 2019-09-02 | 22 | -1441/+1474 |
| | |||||
* | Generate and bless tests | Dylan MacKenzie | 2019-08-24 | 1 | -0/+95 |
| | |||||
* | Centralize `box` pattern tests in `patterns.rs` | Dylan MacKenzie | 2019-08-24 | 1 | -0/+6 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 7 | -26/+26 |
| | |||||
* | move syntax tests to unit tests | Aleksey Kladov | 2019-07-24 | 65 | -0/+3196 |