aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser
Commit message (Collapse)AuthorAgeFilesLines
* Rename BindPat -> IdentPatAleksey Kladov2020-07-3156-215/+215
|
* Rename PalceholderPat -> WildcardPatAleksey Kladov2020-07-3139-100/+100
|
* Allign RecordPat with RecordExprAleksey Kladov2020-07-316-22/+22
|
* Fix const arguments grammarAleksey Kladov2020-07-311-1/+2
|
* Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-3127-42/+42
|
* Rename LambdaExpr -> ClosureExprAleksey Kladov2020-07-319-16/+16
|
* Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-313-4/+4
|
* Finalize impl GrammarAleksey Kladov2020-07-3025-31/+31
|
* Finalize Trait grammarAleksey Kladov2020-07-3012-16/+16
|
* Finalize const&static grammarAleksey Kladov2020-07-3010-13/+13
|
* Rename EnumVariant -> VariantAleksey Kladov2020-07-306-31/+31
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-306-13/+13
|
* Rename StructDef -> StructAleksey Kladov2020-07-3029-66/+66
|
* Finalize union grammarAleksey Kladov2020-07-302-3/+3
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-3025-84/+84
|
* Rename RecordLit -> RecordExprAleksey Kladov2020-07-308-37/+37
|
* Rename TypeParamList -> GenericParamListAleksey Kladov2020-07-3032-90/+90
|
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-3036-52/+52
|
* Rename FnDef -> FnAleksey Kladov2020-07-30190-290/+290
|
* Update testsAleksey Kladov2020-07-3020-52/+52
|
* Update testsAleksey Kladov2020-07-302-4/+4
|
* Update testsAleksey Kladov2020-07-303-9/+9
|
* Update testsAleksey Kladov2020-07-3032-38/+38
|
* Fix nameref parsingAleksey Kladov2020-07-281-2/+1
|
* Fix panic in split and merge import assistsLaurențiu Nicola2020-06-233-3/+18
|
* Implement APIs for parsing expressions, types, paths, patterns and itemsDavid Lattimore2020-06-2126-0/+90
|
* Update parser tests with env varAleksey Kladov2020-06-151-1/+0
|
* Add example of old trait object syntaxMatthew Jasper2020-06-112-1/+38
|
* Move complex inline test to own fileMatthew Jasper2020-06-116-356/+670
|
* Separating parsing of `for` in predicates and typesMatthew Jasper2020-06-107-281/+470
|
* Correctly parse <_> paths in patternsAleksey Kladov2020-06-093-37/+76
| | | | closes #3659
* Parse default unsafe fnAvi Dessauer2020-06-082-0/+43
|
* Move default const test out of lineAvi Dessauer2020-06-044-0/+0
|
* Update testsAvi Dessauer2020-06-046-0/+109
|
* Parse default unsafe & default constAvi Dessauer2020-06-041-14/+20
|
* Support raw_ref_op's raw reference operatorrobojumper2020-05-282-44/+134
|
* Fix parsing of blocks without `{`Aleksey Kladov2020-05-025-25/+78
|
* Cleanup inline testsAleksey Kladov2020-05-028-30/+59
|
* Update test dataAleksey Kladov2020-05-02178-10580/+10223
|
* Validate uses of self and superJohn Renner2020-05-016-26/+104
|
* Merge #4227bors[bot]2020-04-304-75/+91
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4227: Report invalid, nested, multi-segment crate-paths r=matklad a=djrenren There was a bug in the previous path-validating code that didn't detect multi-segment paths that started with `crate`. ```rust // Successfully reported use foo::{crate}; // BUG: was not being reported use foo::{crate::bar}; ``` This was due to my confusion about path-associativity. That is, the path with no qualifier is the innermost path, not the outermost. I've updated the code with a lot of comments to explain what's going on. This bug was discovered when I found an erroneous `ok` test which I reported here: https://github.com/rust-analyzer/rust-analyzer/issues/4226 This test now fails and has been modified, hopefully in the spirit of the original test, to be correct. Sorry about submitting the bug in the first place! Co-authored-by: John Renner <[email protected]>
| * Report invalid, nested, multi-segment crate-pathsJohn Renner2020-04-304-75/+91
| | | | | | | | | | | | | | | | | | | | Specifically, things like: use foo::{crate::bar}; Are now being caught, when before we only caught: use foo::{crate};
* | Special-case try macro_rulesEdwin Cheng2020-04-302-0/+28
|/
* Special-case try macro to better support 2015 editionAleksey Kladov2020-04-302-0/+36
|
* Validate the location of `crate` in pathsJohn Renner2020-04-292-0/+80
|
* Convert tests to text-sizeAleksey Kladov2020-04-25278-22795/+22795
|
* Align grammar for record patterns and literalsAleksey Kladov2020-04-115-33/+41
| | | | | | The grammar now looks like this [name_ref :] pat
* Make records grammar more orthogonalAleksey Kladov2020-04-113-4/+62
| | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
* Rename some tokensAleksey Kladov2020-04-10194-998/+998
|
* Parse correctly fn f<T>() where T: Fn() -> u8 + Send {}Luca Barbieri2020-04-092-0/+62
| | | | | We used to parse it as T: Fn() -> (u8 + Send), which is different from the rustc behavior of T: (Fn() -> u8) + Send