aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/err
Commit message (Collapse)AuthorAgeFilesLines
* add rustc_lexerAleksey Kladov2019-07-223-79/+35
|
* fix: support existential typecsmoe2019-06-121-1/+1
|
* show error offsets in testsAleksey Kladov2019-05-2933-258/+258
|
* update test dataAleksey Kladov2019-05-2833-258/+258
|
* share literal validation logic with compilerAleksey Kladov2019-05-071-3/+0
|
* always show token textAleksey Kladov2019-04-0233-1210/+1210
|
* Update testsVille Penttinen2019-03-311-57/+61
|
* Update testsVille Penttinen2019-03-302-99/+111
|
* Merge #991bors[bot]2019-03-181-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | 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 parserspcpthm2019-03-181-3/+3
| | | | | | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path
* | Fix parse tree of attribute on match armpcpthm2019-03-172-40/+40
|/
* improve error recoveryAleksey Kladov2019-03-043-42/+70
| | | | parse the contents of error block as an expression
* Parse only outer_attributes for match arms for nowVille Penttinen2019-02-171-31/+59
|
* Enable parsing of attributes inside a match blockVille Penttinen2019-02-174-0/+264
| | | | | | | We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors.
* make macro a NameOwnerAleksey Kladov2019-02-111-1/+2
|
* Parse and validate attributes in blocksDJMcNab2019-01-282-0/+129
|
* rename POS_FIELD -> POS_FIELD_DEFAleksey Kladov2019-01-252-7/+7
| | | | to match NAMED_FIELD_DEF
* Update tests after allowing where predicate to accept typesErlend Tobiassen2019-01-221-8/+9
|
* Rename ImplItem to ImplBlockFlorian Diebold2019-01-043-4/+4
| | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion.
* fix suffix rangesAleksey Kladov2018-12-272-0/+79
|
* Improve parsing of incomplete field accesses in preparation for field completionFlorian Diebold2018-12-252-0/+38
| | | | | We need to be able to get the receiver even if there is no field name yet, and currently "a." wouldn't get parsed as a field name at all. This seems to help.
* Fix the tests and fix the precommit hookDJMcNab2018-12-202-0/+332
|
* rename ROOT -> SOURCE_FILEAleksey Kladov2018-11-0728-28/+28
|
* grammar: fix where clause parsingAleksey Kladov2018-11-062-0/+30
| | | | closes #205
* Attach comments smartlyAleksey Kladov2018-10-081-3/+3
|
* generate testsuite for impl_typecsmoe2018-09-262-8/+6
|
* parse impl typecsmoe2018-09-252-47/+28
|
* add test for impl recoverycsmoe2018-09-242-0/+70
|
* rename all thingsAleksey Kladov2018-09-1651-0/+2248