about summary refs log tree commit diff
path: root/crates/parser/test_data
AgeCommit message (Collapse)AuthorLines
2022-07-08Update remaining GitHub URLsJonas Schievink-18/+18
2022-06-02fix: parsing of `?` opt-out trait boundsXFFXFF-0/+48
thanks to Veykril
2022-05-13Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, ↵Jonas Schievink-184/+26
r=jonas-schievink" This reverts commit cc9ae2b89e01a30e441371b9fd3376c3d03a475f, reversing changes made to 7dfd1cb572d8d4fd951237361e43ecddd9c9a852.
2022-05-13Revert "fix: Remap float parts as integers when parsed as indices"Jonas Schievink-3/+3
This reverts commit dbb066b99e2e644437ddecb20127bcfdba975614.
2022-05-13Revert "Don't remap float tokens to `INT_NUMBER`"Jonas Schievink-3/+3
This reverts commit cb5e8da88a06be415bd804884284c11c0a709bcf.
2022-05-12Don't remap float tokens to `INT_NUMBER`Jonas Schievink-3/+3
2022-05-07fix: Remap float parts as integers when parsed as indicesLukas Wirth-3/+3
2022-05-05Maybe everything else *should* have to deal with itJonas Schievink-14/+13
2022-05-05Indicate the number of float tokens in the first tokenJonas Schievink-22/+109
2022-05-05Wrap floats in token trees in `FLOAT_LITERAL` nodeJonas Schievink-3/+4
2022-05-05Add testsJonas Schievink-0/+35
2022-05-05Split float literal tokens at the `.`Jonas Schievink-26/+59
2022-05-05Wrap float literals in their own nodeJonas Schievink-3/+6
2022-04-17update parser to support associated const equalityXFFXFF-0/+108
2022-04-10Parse for<'a> closure syntaxLukas Wirth-115/+204
2022-04-05Wrap macros in expr position in `MacroExpr` nodeJonas Schievink-428/+447
2022-03-31Remove parser restriction on varargs positioningJonas Schievink-2/+18
2022-03-11refactor: Rename and move const_arg_pathSteven Joruk-31/+37
It wasn't testing the `const_arg` code path, it was actually hitting const_param's default value code path, so move it to the right place and rename it.
2022-03-11fix: Stop wrapping ConstParam's default values in ConstArgSteven Joruk-38/+65
This was causing ConstParam::default_val to always return None for block expressions. CONST_ARG@24..29 BLOCK_EXPR@24..29 ...
2022-03-10Add support for new `where` clause location in associated types.Dario Nieuwenhuis-7/+41
A recent Rust nightly changed it: https://github.com/rust-lang/rust/issues/89122 This allows both the old and new location.
2022-03-06Bring back syntax highlighting in test dataAleksey Kladov-48821/+24849
cc #11597
2022-03-05fix: Recognize `Self` as a proper keywordLukas Wirth-8/+8
2022-03-02Parse destructuring assignmentChayim Refael Friedman-213/+482
The only patterns we should parse are `..` in structs and `_`: the rest are either not supported or already valid expressions.
2022-02-21Update testsChayim Refael Friedman-770/+511
Unfortunately, we lost some recovery for expressions.
2022-02-13fix handle static async and static async movebellau-0/+36
2022-02-12support static move toobellau-0/+17
2022-02-12Fix Immovable generator syntax (static ||) not recognized #11448bellau-0/+15
2021-12-26fix line endingsAleksey Kladov-1/+1
2021-12-26internal: move inline parser tests to parser crateAleksey Kladov-0/+22945
2021-12-26internal: move outlined parser testsAleksey Kladov-0/+28593
2021-12-18move testsAleksey Kladov-0/+604