Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attach comments to ast::Impl | Lukas Wirth | 2021-05-15 | 1 | -3/+3 |
| | |||||
* | Parse const param defaults | Jonas Schievink | 2021-04-29 | 2 | -0/+99 |
| | |||||
* | Correctly parse negated literals as const args | Jonas Schievink | 2021-04-29 | 2 | -0/+31 |
| | |||||
* | Parse outer atttributes for RecordPatField | Lukas Wirth | 2021-04-21 | 2 | -6/+53 |
| | |||||
* | fix: false positive about inner attrs in docs | Aleksey Kladov | 2021-04-19 | 3 | -179/+223 |
| | | | | closes #8541 | ||||
* | hir_ty: Expand macros at type position | cynecx | 2021-04-17 | 1 | -23/+25 |
| | |||||
* | Correctly parse attributes on fn parameters | Jonas Schievink | 2021-03-17 | 2 | -49/+49 |
| | |||||
* | Specialization for async traits | Arnaud | 2021-02-15 | 4 | -0/+88 |
| | |||||
* | Add validation for mutable const items | Lukas Wirth | 2021-01-24 | 4 | -23/+24 |
| | |||||
* | Parse `impl const Trait` | Lukas Wirth | 2021-01-18 | 2 | -0/+25 |
| | |||||
* | Wrap remaining self/super/crate in Name{Ref} | Lukas Wirth | 2021-01-15 | 13 | -52/+122 |
| | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 17 | -32/+64 |
| | |||||
* | Add test for yield_expr | Daiki Ihara | 2021-01-15 | 2 | -0/+32 |
| | |||||
* | Merge #7218 | bors[bot] | 2021-01-10 | 2 | -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 Esche | 2021-01-10 | 2 | -50/+50 |
| | | |||||
* | | Allow `true` and `false` keywords in const generics | Callym | 2021-01-10 | 2 | -10/+20 |
|/ | |||||
* | parser,syntax: Add separate parser for stmt with optional semicolon | Marijn Suijten | 2021-01-03 | 12 | -4/+65 |
| | | | | | Adjusting `grammar::fragments::stmt` to Optional or Yes will break original functionality and tests. | ||||
* | syntax,ssr: Implement statement parsing | Marijn Suijten | 2021-01-03 | 28 | -0/+150 |
| | |||||
* | Fix macro_rules not accepting brackets or parentheses | Lukas Wirth | 2020-12-24 | 2 | -0/+59 |
| | |||||
* | Parse const effect block | Lukas Wirth | 2020-12-23 | 2 | -0/+24 |
| | |||||
* | Parse ConstBlockPat | Lukas Wirth | 2020-12-23 | 2 | -0/+80 |
| | |||||
* | Merge #6965 | bors[bot] | 2020-12-21 | 5 | -135/+186 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 expressions | Lukas Wirth | 2020-12-20 | 2 | -0/+51 |
| | | |||||
| * | Properly attach attributes to Param instead of parent ParamList | Lukas Wirth | 2020-12-20 | 3 | -135/+135 |
| | | |||||
* | | Properly parse legacy trait objects with leading ForType | Lukas Wirth | 2020-12-20 | 2 | -0/+44 |
|/ | |||||
* | Node-ify lifetimes | Lukas Wirth | 2020-12-16 | 30 | -135/+263 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 5 | -45/+38 |
| | |||||
* | Use items can also have doc comments | Lukas Wirth | 2020-12-04 | 2 | -15/+15 |
| | |||||
* | Parse unsafe extern block | David Tolnay | 2020-11-23 | 2 | -2/+16 |
| | |||||
* | Fix attachment of inner doc comments | Aleksey Kladov | 2020-11-12 | 1 | -3/+3 |
| | |||||
* | Kill RAW_ literals | Aleksey Kladov | 2020-11-06 | 1 | -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 Roktim | 2020-10-24 | 2 | -0/+56 |
| | |||||
* | Add validation check for ambiguous trait objects | Lukas Wirth | 2020-10-06 | 4 | -0/+404 |
| | |||||
* | Rename record_field_pat to record_pat_field | Pavan Kumar Sunkara | 2020-09-10 | 4 | -0/+0 |
| | |||||
* | Complete `pub` in fields | Aleksey Kladov | 2020-08-25 | 2 | -0/+32 |
| | |||||
* | Better recovery in `use foo::;` | Aleksey Kladov | 2020-08-13 | 1 | -5/+3 |
| | |||||
* | Align parser names with grammar | Aleksey Kladov | 2020-08-13 | 2 | -77/+0 |
| | |||||
* | Rename ra_syntax -> syntax | Aleksey Kladov | 2020-08-12 | 590 | -0/+25565 |