aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline
Commit message (Collapse)AuthorAgeFilesLines
* Specialization for async traitsArnaud2021-02-154-0/+88
|
* Parse `impl const Trait`Lukas Wirth2021-01-182-0/+25
|
* Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-158-38/+86
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-159-12/+24
|
* Add test for yield_exprDaiki Ihara2021-01-152-0/+32
|
* Merge #7218bors[bot]2021-01-102-50/+50
|\ | | | | | | | | | | | | | | 7218: Fix typos r=Veykril a=regexident Apart from the very last commit on this PR (which fixes a public type's name) all changes are non-breaking. Co-authored-by: Vincent Esche <regexident@gmail.com>
| * Updated tests via `cargo xtask codegen`Vincent Esche2021-01-102-50/+50
| |
* | 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> ``` LET_STMT@200..236 LET_KW@200..203 "let" WHITESPACE@203..204 " " IDENT_PAT@204..206 NAME@204..206 IDENT@204..206 "_a" WHITESPACE@206..207 " " EQ@207..208 "=" WHITESPACE@208..209 " " ARRAY_EXPR@209..235 L_BRACK@209..210 "[" LITERAL@210..211 INT_NUMBER@210..211 "0" COMMA@211..212 "," LITERAL@212..234 ATTR@212..233 POUND@212..213 "#" L_BRACK@213..214 "[" PATH@214..217 PATH_SEGMENT@214..217 NAME_REF@214..217 IDENT@214..217 "cfg" TOKEN_TREE@217..232 L_PAREN@217..218 "(" IDENT@218..225 "feature" WHITESPACE@225..226 " " EQ@226..227 "=" WHITESPACE@227..228 " " STRING@228..231 "\"L\"" R_PAREN@231..232 ")" R_BRACK@232..233 "]" INT_NUMBER@233..234 "0" R_BRACK@234..235 "]" SEMICOLON@235..236 ";" ``` </details> Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
| * 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-1617-35/+70
|
* 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
|
* Complete `pub` in fieldsAleksey Kladov2020-08-252-0/+32
|
* Better recovery in `use foo::;`Aleksey Kladov2020-08-131-5/+3
|
* Align parser names with grammarAleksey Kladov2020-08-132-77/+0
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-12332-0/+10551