aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err
Commit message (Collapse)AuthorAgeFilesLines
* Report invalid, nested, multi-segment crate-pathsJohn Renner2020-04-302-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 pathsJohn Renner2020-04-292-0/+80
|
* Convert tests to text-sizeAleksey Kladov2020-04-2538-3033/+3033
|
* Rename some tokensAleksey Kladov2020-04-1026-96/+96
|
* Migrate tests .txt -> .rastveetaha2020-04-0638-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 typeAleksey Kladov2020-03-251-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::ImplDefAleksey Kladov2020-02-294-5/+5
|
* ra_syntax: migrate test data to 0-length text-range of SyntaxError when ↵Veetaha2020-02-1734-208/+208
| | | | constructed from TextUnit
* ra_syntax: reshape SyntaxError for the sake of removing redundancyVeetaha2020-02-1735-211/+211
|
* Nest attrs into exprs in function argsAleksey Kladov2020-01-171-18/+12
|
* Extract expr_with_attrsAleksey Kladov2020-01-171-10/+14
|
* Simplify array parsingAleksey Kladov2020-01-161-20/+13
|
* Add macro 2.0 support in parserEdwin Cheng2019-12-212-343/+0
|
* Improve recovery for incomplete lambdasAleksey Kladov2019-12-172-0/+88
|
* Attempt to implement typed accessorsGeoffry Song2019-11-151-1/+1
|
* Move inclusive range check to validationGeoffry Song2019-11-152-8/+15
|
* Fix parsing of "postfix" range expressions.Geoffry Song2019-11-152-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 traitsAleksey Kladov2019-11-112-0/+105
|
* fix parsing of for loops inside expressionsAleksey Kladov2019-10-281-48/+43
| | | | closes #2051
* Parse correct AttrInputuHOOCCOOHu2019-09-305-84/+102
|
* fix infinite loop in the parserAleksey Kladov2019-09-202-0/+53
| | | | closes #1866
* better error recovery for use treesAleksey Kladov2019-09-053-1/+60
|
* update test dataAleksey Kladov2019-09-0222-1441/+1474
|
* Generate and bless testsDylan MacKenzie2019-08-241-0/+95
|
* Centralize `box` pattern tests in `patterns.rs`Dylan MacKenzie2019-08-241-0/+6
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-237-26/+26
|
* move syntax tests to unit testsAleksey Kladov2019-07-2465-0/+3196