about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Expand)AuthorLines
2019-06-06syntax: Remove duplicate span from `token::Lifetime`Vadim Petrochenkov-33/+36
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-62/+64
2019-06-06syntax: Use `Token` in `Parser`Vadim Petrochenkov-123/+123
2019-06-06syntax: Use `Token` in `StringReader` and `TokenTreesReader`Vadim Petrochenkov-46/+32
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-220/+230
2019-06-06syntax: Rename `TokenAndSpan` into `Token`Vadim Petrochenkov-95/+91
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-105/+105
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-83/+83
2019-06-05Added feature gate.Alexander Regueiro-12/+30
2019-06-05Implemented for function bounds, type bounds, and named existential types.Alexander Regueiro-56/+103
2019-06-05Aggregation of drive-by cosmetic changes.Alexander Regueiro-55/+53
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-278/+38
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/rustc: move `mark_span_with_reason` back.David Wood-21/+0
2019-06-03syntax: revert `ast::AsyncArgument` and associated changes.Eduard-Mihai Burtescu-257/+38
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-06-01Rollup merge of #61389 - Zoxc:arena-cleanup, r=eddybMazdak Farrokhzad-3/+3
2019-05-31Rollup merge of #61374 - VirrageS:master, r=CentrilPietro Albini-2/+2
2019-05-31Remove GlobalArenas and use Arena insteadJohn Kåre Alsaker-3/+3
2019-05-30Move code from `parser` to `diagnostics`Esteban Küber-36/+40
2019-05-30Remove `ArgSource::Recovery`Esteban Küber-6/+4
2019-05-30Recover gracefully from argument with missing type or param nameEsteban Küber-18/+59
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-30Auto merge of #61253 - nnethercote:avoid-hygiene_data-lookups, r=petrochenkovbors-3/+3
2019-05-29libsyntax: introduce 'fn is_keyword_ahead(dist, keywords)'.Mazdak Farrokhzad-35/+38
2019-05-29Introduce and use `SyntaxContext::outer_expn_info()`.Nicholas Nethercote-3/+3
2019-05-29syntax: bail out of `find_width_of_character_at_span` if the span doesn't sta...Eduard-Mihai Burtescu-0/+5
2019-05-27Auto merge of #61140 - estebank:attr-diagnostics, r=michaelwoeristerbors-12/+74
2019-05-27Auto merge of #60967 - Zoxc:fix-syntax-sync, r=michaelwoeristerbors-0/+22
2019-05-27Short circuit Send and Sync impls for TokenTreeJohn Kåre Alsaker-0/+22
2019-05-27Stabilize repr_align_enum in 1.37.0.Mazdak Farrokhzad-14/+3
2019-05-27Use `Symbol` equality in `may_begin_with` and `parse_nt`.Nicholas Nethercote-27/+27
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-8/+8
2019-05-27Avoid some re-interning in `to_lit_token`.Nicholas Nethercote-5/+8
2019-05-27Add `to_symbol` methods.Nicholas Nethercote-4/+26
2019-05-27Pre-intern "0", "1", ..., "9", and use where appropriate.Nicholas Nethercote-3/+3
2019-05-27Pass symbols to `ExtCtxt::std_path` instead of strings.Nicholas Nethercote-26/+16
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-20/+11
2019-05-25review comments: move back some methods and clean up wordingEsteban Küber-172/+176
2019-05-25Move some methods to `diagnostics.rs` away from `parser.rs`Esteban Küber-413/+462
2019-05-25Tweak `self` arg not as first argument of a method diagnosticEsteban Küber-37/+55