about summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Expand)AuthorLines
2019-06-08syntax: Move most of the `TokenKind` methods to `Token`Vadim Petrochenkov-81/+49
2019-06-08fix libsyntax testCedric-4/+4
2019-06-08Remove redundant, commented out codeIgor Matuszewski-6/+0
2019-06-08Separate a `scan_raw_string` (similar `raw_byte` variant)Igor Matuszewski-77/+82
2019-06-08Clean up minor bitsIgor Matuszewski-2/+2
2019-06-08cast vec to slicesCedric-5/+5
2019-06-08use default binding mode in match clausesCedric-5/+5
2019-06-08fix bad style for structsCedric-8/+8
2019-06-08improve styleCedric-13/+10
2019-06-08use pattern matching for slices destructuringCedric-31/+24
2019-06-08Rollup merge of #61616 - petrochenkov:parsderef, r=oli-obkMazdak Farrokhzad-248/+238
2019-06-07syntax: Treat error literals in more principled wayVadim Petrochenkov-1/+5
2019-06-07parser: Remove `look_ahead_span`Vadim Petrochenkov-18/+5
2019-06-07parser: Remove `Deref` impl from `Parser`Vadim Petrochenkov-10/+0
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-224/+237
2019-06-06Address review commentsVadim Petrochenkov-4/+8
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-41/+54
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-20/+20
2019-06-06syntax: Use `Token` in some more placesVadim Petrochenkov-4/+4
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-104/+105
2019-06-06syntax: Remove duplicate span from `token::Lifetime`Vadim Petrochenkov-30/+34
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-51/+54
2019-06-06syntax: Use `Token` in `Parser`Vadim Petrochenkov-106/+107
2019-06-06syntax: Use `Token` in `StringReader` and `TokenTreesReader`Vadim Petrochenkov-46/+32
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-56/+62
2019-06-06syntax: Rename `TokenAndSpan` into `Token`Vadim Petrochenkov-94/+91
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-66/+66
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-12/+12
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-130/+13
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-130/+13
2019-06-03Allow `true` and `false` in const generic argumentsvarkor-3/+7
2019-06-03Auto merge of #61331 - estebank:fn-arg-parse-recovery, r=varkorbors-31/+81
2019-06-02Rollup merge of #61438 - estebank:generics-span, r=varkorMazdak Farrokhzad-12/+13
2019-06-01Extend docstringEsteban Küber-0/+7
2019-05-31Make generics always have a valid spanEsteban Küber-12/+13
2019-05-31Rollup merge of #61374 - VirrageS:master, r=CentrilPietro Albini-2/+2
2019-05-30Move code from `parser` to `diagnostics`Esteban Küber-36/+40
2019-05-30Remove `ArgSource::Recovery`Esteban Küber-3/+3
2019-05-30Recover gracefully from argument with missing type or param nameEsteban Küber-17/+56
2019-05-31Parse 'async unsafe fn' instead of 'unsafe async fn'.Mazdak Farrokhzad-37/+34
2019-05-30Explicitly suggest 'type_ascription' featureJanusz Marcinkiewicz-2/+2
2019-05-29libsyntax: introduce 'fn is_keyword_ahead(dist, keywords)'.Mazdak Farrokhzad-35/+38
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-8/+8