aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok
Commit message (Collapse)AuthorAgeFilesLines
...
* don't confuse macro with !=Aleksey Kladov2019-09-202-0/+69
| | | | closes #1871
* Merge #1848bors[bot]2019-09-151-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 1848: Parse `..` as a full pattern r=matklad a=ecstatic-morse Resolves #1479. This PR implements [RFC 2707](https://github.com/rust-lang/rfcs/pull/2707) in the parser. It introduces a new `DotDotPat` AST node modeled on `PlaceholderPat` and changes the parsing of tuple and slice patterns to conform to the RFC. Notably, this PR does *not* change the resulting AST when `..` appears in a struct pattern (e.g. `Struct { a, b: c, .. }`). I *think* this is the behavior mandated by RFC 2707, but someone should confirm this. Co-authored-by: Dylan MacKenzie <[email protected]>
| * Bless old tests containing a `..` patternDylan MacKenzie2019-09-151-1/+2
| |
* | Add tests for underscores in `const` and `static` itemsDylan MacKenzie2019-09-152-38/+57
|/
* add a jointness parser testsAleksey Kladov2019-09-102-0/+55
| | | | cc https://github.com/rust-lang/rust/issues/64242
* WIP: switch to fully decomposed tokens internallyAleksey Kladov2019-09-102-0/+131
|
* Fix outer doc-comments of `macro_rules`uHOOCCOOHu2019-09-092-0/+42
|
* update test dataAleksey Kladov2019-09-0230-3585/+3676
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-2310-39/+39
|
* fix test positionbravomikekilo2019-08-142-0/+84
|
* Fix parser tests according to reviewEvgenii P2019-08-082-0/+498
|
* move syntax tests to unit testsAleksey Kladov2019-07-24102-0/+7864