about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-58/+112
2020-11-27Auto merge of #79433 - calebcartwright:parse-attr-vis, r=petrochenkovbors-2/+4
2020-11-27Auto merge of #79266 - b-naber:gat_trait_path_parser, r=petrochenkovbors-26/+83
2020-11-26Only eat semicolons for statements that need themAaron Hill-2/+1
2020-11-26Properly handle attributes on statementsAaron Hill-56/+111
2020-11-26Auto merge of #79338 - Aaron1011:fix/token-reparse-cache, r=petrochenkovbors-3/+35
2020-11-26rustc_parse: restore pub vis on parse_attributeCaleb Cartwright-2/+4
2020-11-25ast and parserb-naber-26/+83
2020-11-23Cache pretty-print/retokenize result to avoid compile time blowupAaron Hill-3/+35
2020-11-22Rollup merge of #79299 - varkor:stabilise-then, r=m-ou-seMara Bos-1/+0
2020-11-22Stabilise `then`varkor-1/+0
2020-11-22Fix typo in doc comment for report_too_many_hashesNicolas-1/+1
2020-11-19Rollup merge of #79185 - petrochenkov:derattr2, r=Aaron1011Dylan DPC-7/+6
2020-11-19resolve/expand: Misc cleanupVadim Petrochenkov-7/+6
2020-11-18Permit standalone generic parameters as const generic arguments in macrosvarkor-3/+15
2020-11-15Rollup merge of #79016 - fanzier:underscore-expressions, r=petrochenkovJonas Schievink-0/+3
2020-11-14Add underscore expressions for destructuring assignmentsFabian Zaiser-0/+3
2020-11-14Auto merge of #78736 - petrochenkov:lazyenum, r=Aaron1011bors-9/+5
2020-11-12rustc_parse: Remove optimization for 0-length streams in `collect_tokens`Vadim Petrochenkov-9/+5
2020-11-12Rollup merge of #78836 - fanzier:struct-and-slice-destructuring, r=petrochenkovMara Bos-2/+8
2020-11-12Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011bors-105/+75
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-2/+8
2020-11-09Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwcoDylan DPC-5/+1
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-105/+75
2020-11-05Fix even more URLsGuillaume Gomez-1/+1
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-4/+0
2020-11-02Use reparsed `TokenStream` if we captured any inner attributesAaron Hill-29/+14
2020-10-31parser: Cleanup `LazyTokenStream` and avoid some clonesVadim Petrochenkov-37/+49
2020-10-30Add back missing commentsJoshua Nelson-2/+3
2020-10-30Fix even more clippy warningsJoshua Nelson-54/+40
2020-10-30Rollup merge of #78523 - estebank:fix-return-type-parse-regression, r=dtolnayYuki Okushi-13/+4
2020-10-29Revert invalid `fn` return type parsing changeEsteban Küber-13/+4
2020-10-29Rollup merge of #78460 - varkor:turbofish-string-generic, r=lcnrYuki Okushi-4/+5
2020-10-28Adjust turbofish help message for const genericsvarkor-4/+5
2020-10-28Rollup merge of #78453 - Storyyeller:patch-1, r=jonas-schievinkDylan DPC-1/+1
2020-10-28Rollup merge of #78379 - estebank:fn-signature-parse, r=varkorDylan DPC-18/+45
2020-10-27Fix typo in commentsRobert Grosse-1/+1
2020-10-27Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petr...bors-22/+190
2020-10-26Suggest expressions that look like const generic arguments should be enclosed...varkor-22/+190
2020-10-26Rollup merge of #78214 - estebank:match-semicolon, r=oli-obkDylan DPC-1/+7
2020-10-25Tweak invalid `fn` header and body parsingEsteban Küber-9/+43
2020-10-25Rely on regular "expected"/"found" parser error for `fn`Esteban Küber-12/+5
2020-10-24Auto merge of #77255 - Aaron1011:feature/collect-attr-tokens, r=petrochenkovbors-115/+115
2020-10-23Silence unnecessary `await foo?` knock-down errorEsteban Küber-1/+7
2020-10-22Only call `collect_tokens` when we have an attribute to parseAaron Hill-26/+32
2020-10-22Make inline const work for half open rangesSantiago Pastorino-8/+8
2020-10-22Make inline const work in range patternsSantiago Pastorino-6/+15
2020-10-22Rename parse_const_expr to parse_const_blockSantiago Pastorino-3/+3
2020-10-22Don't create an empty `LazyTokenStream`Aaron Hill-19/+25