summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
AgeCommit message (Expand)AuthorLines
2019-08-03review commentsEsteban Küber-3/+4
2019-08-03Fix another caseEsteban Küber-3/+12
2019-08-03Make the parser TokenStream more resilient after mismatched delimiter recoveryEsteban Küber-0/+3
2019-07-22Rollup merge of #62792 - goodmanjonathan:beta, r=estebankPietro Albini-1/+1
2019-07-22Cancel unemitted diagnostics during error recoveryEsteban Küber-8/+9
2019-07-22Correctly break out of recovery loopEsteban Küber-2/+3
2019-07-22Handle errors during error recovery gracefullyEsteban Küber-4/+7
2019-07-18Don't drop DiagnosticBuilder if parsing failsJonathan Goodman-1/+1
2019-06-29Always parse 'async unsafe fn' + properly ban in 2015.Mazdak Farrokhzad-8/+18
2019-06-26Fix clippy::redundant_field_namesIgor Matuszewski-9/+9
2019-06-25Auto merge of #60732 - jswrenn:arbitrary_enum_discriminant, r=pnkfelixbors-17/+14
2019-06-24Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkovbors-2/+2
2019-06-23Remove redundant syntax::ast::Guard.Mazdak Farrokhzad-2/+2
2019-06-23let_chains: Fix bugs in pretty printing.Mazdak Farrokhzad-2/+2
2019-06-23let_chains: Refactor parse_{if,while}_expr a bit.Mazdak Farrokhzad-9/+12
2019-06-23let_chains: Move feature gating to pre-expansion.Mazdak Farrokhzad-2/+13
2019-06-23let_chains: Fix outdated doc-comment re. 'parse_if_expr'.Mazdak Farrokhzad-1/+1
2019-06-23let_chains: Add support for parsing let expressions.Mazdak Farrokhzad-49/+18
2019-06-21Implement arbitrary_enum_discriminantJohn Wrenn-17/+14
2019-06-18Remove the HirId/NodeId from where clausesMatthew Jasper-2/+0
2019-06-12Auto merge of #61612 - nnethercote:improve-parse_bottom_expr, r=petrochenkovbors-10/+22
2019-06-12Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkovbors-28/+52
2019-06-10Special-case literals in `parse_bottom_expr`.Nicholas Nethercote-10/+22
2019-06-09Allow attributes in formal function parametersCaio-28/+52
2019-06-08syntax: Remove `Deref` impl from `Token`Vadim Petrochenkov-9/+9
2019-06-08syntax: Move most of the `TokenKind` methods to `Token`Vadim Petrochenkov-3/+5
2019-06-07parser: Remove `look_ahead_span`Vadim Petrochenkov-13/+1
2019-06-07parser: Remove `Deref` impl from `Parser`Vadim Petrochenkov-10/+0
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-179/+192
2019-06-06Address review commentsVadim Petrochenkov-4/+8
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-25/+30
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-7/+7
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-27/+21
2019-06-06syntax: Remove duplicate span from `token::Lifetime`Vadim Petrochenkov-4/+3
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-10/+10
2019-06-06syntax: Use `Token` in `Parser`Vadim Petrochenkov-79/+82
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-10/+10
2019-06-06syntax: Rename `TokenAndSpan` into `Token`Vadim Petrochenkov-15/+15
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-24/+24
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-4/+4
2019-06-05Implemented for function bounds, type bounds, and named existential types.Alexander Regueiro-21/+31
2019-06-05Aggregation of drive-by cosmetic changes.Alexander Regueiro-29/+29
2019-06-05Auto merge of #61484 - nnethercote:avoid-more-hygiene-lookups, r=petrochenkovbors-8/+11
2019-06-05Avoid unnecessary `rust_2018` calls.Nicholas Nethercote-8/+11
2019-06-04Rollup merge of #61500 - estebank:expregression, r=petrochenkovPietro Albini-7/+11
2019-06-04Rollup merge of #61413 - davidtwco:async-argument-order-in-a-sane-way, r=eddybMazdak Farrokhzad-129/+12
2019-06-04Rollup merge of #61409 - varkor:condition-trait-param-ice, r=oli-obkMazdak Farrokhzad-3/+7
2019-06-03Fix regression #61475Esteban Küber-7/+11
2019-06-03syntax: revert `ast::AsyncArgument` and associated changes.Eduard-Mihai Burtescu-129/+12
2019-06-03Allow `true` and `false` in const generic argumentsvarkor-3/+7