aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok
Commit message (Collapse)AuthorAgeFilesLines
* Allow `true` and `false` keywords in const genericsCallym2021-01-102-10/+20
|
* Fix macro_rules not accepting brackets or parenthesesLukas Wirth2020-12-242-0/+59
|
* Parse const effect blockLukas Wirth2020-12-232-0/+24
|
* Parse ConstBlockPatLukas Wirth2020-12-232-0/+80
|
* Merge #6965bors[bot]2020-12-213-10/+61
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6965: Properly attach attributes to Param instead of parent ParamList r=matklad a=Veykril Fixes #2783, fixes #2781 The problem with `let _a = [0,#[cfg(feature = "L")]0];` has already been fixed some time ago it seems: <details> <summary>Syntax Tree for the const item</summary> ``` [email protected] [email protected] "let" [email protected] " " [email protected] [email protected] [email protected] "_a" [email protected] " " [email protected] "=" [email protected] " " [email protected] [email protected] "[" [email protected] [email protected] "0" [email protected] "," [email protected] [email protected] [email protected] "#" [email protected] "[" [email protected] [email protected] [email protected] [email protected] "cfg" [email protected] [email protected] "(" [email protected] "feature" [email protected] " " [email protected] "=" [email protected] " " [email protected] "\"L\"" [email protected] ")" [email protected] "]" [email protected] "0" [email protected] "]" [email protected] ";" ``` </details> Co-authored-by: Lukas Wirth <[email protected]>
| * Parse attributes in tuple expressionsLukas Wirth2020-12-202-0/+51
| |
| * Properly attach attributes to Param instead of parent ParamListLukas Wirth2020-12-201-10/+10
| |
* | Properly parse legacy trait objects with leading ForTypeLukas Wirth2020-12-202-0/+44
|/
* Node-ify lifetimesLukas Wirth2020-12-1616-34/+68
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-153-36/+26
|
* Use items can also have doc commentsLukas Wirth2020-12-042-15/+15
|
* Kill RAW_ literalsAleksey Kladov2020-11-061-2/+2
| | | | | Syntactically, they are indistinguishable from non-raw versions, so it doesn't make sense to separate then *at the syntax* level.
* Don't interpret type path as part of visibility.Arif Roktim2020-10-242-0/+56
|
* Rename record_field_pat to record_pat_fieldPavan Kumar Sunkara2020-09-104-0/+0
|
* Align parser names with grammarAleksey Kladov2020-08-132-77/+0
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-12306-0/+10065