about summary refs log tree commit diff
path: root/compiler/rustc_ast
AgeCommit message (Expand)AuthorLines
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-1/+1
2021-01-03Edit rustc_ast::tokenstream docspierwill-16/+17
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-3/+3
2021-01-01first pass at default values for const genericsJulian Knodt-2/+10
2020-12-31Enable Pat2021 in edition 2021.Mara Bos-2/+1
2020-12-31Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkovbors-5/+30
2020-12-30Rollup merge of #80128 - pierwill:pierwill-docs-fieldpat, r=jyn514Mara Bos-6/+6
2020-12-30Implement edition-based macro pat featuremark-5/+30
2020-12-30Auto merge of #80503 - JohnTitor:rollup-b26vglu, r=JohnTitorbors-10/+4
2020-12-29More uses of the matches! macroLingMan-10/+4
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-0/+6
2020-12-28Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPCDylan DPC-87/+40
2020-12-26stabilize min_const_genericsBastian Kauschke-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-87/+40
2020-12-22Rework beautify_doc_string so that it returns a Symbol instead of a StringGuillaume Gomez-35/+37
2020-12-17docs: Edit rustc_ast::token::Tokenpierwill-1/+1
2020-12-17Edit rustc_ast::ast::FieldPat docspierwill-6/+6
2020-12-09Accept arbitrary expressions in key-value attributes at parse timeVadim Petrochenkov-30/+9
2020-12-01Add documentation for name_value_literal_span methodsGuillaume Gomez-0/+14
2020-12-01Improve some attributes error spansGuillaume Gomez-1/+3
2020-12-01Created NestedMetaItem::name_value_literal_span methodGuillaume Gomez-0/+15
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-14/+61
2020-11-27Auto merge of #79266 - b-naber:gat_trait_path_parser, r=petrochenkovbors-1/+8
2020-11-26Properly handle attributes on statementsAaron Hill-14/+61
2020-11-26Rollup merge of #79000 - sivadeilra:user/ardavis/lev_distance, r=wesleywiserJonas Schievink-169/+0
2020-11-25ast and parserb-naber-1/+8
2020-11-25Adjust pretty-print compat hack to work with item statementsAaron Hill-7/+14
2020-11-24Move lev_distance to rustc_ast, make non-genericArlie Davis-169/+0
2020-11-15Rollup merge of #79016 - fanzier:underscore-expressions, r=petrochenkovJonas Schievink-0/+5
2020-11-14Add underscore expressions for destructuring assignmentsFabian Zaiser-0/+5
2020-11-13Reserve space in advanceDániel Buga-1/+1
2020-11-12Rollup merge of #78836 - fanzier:struct-and-slice-destructuring, r=petrochenkovMara Bos-7/+24
2020-11-12Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011bors-27/+37
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-7/+24
2020-11-10Changed unwrap_or to unwrap_or_else in some places.Nicholas-Baron-3/+3
2020-11-09Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwcoDylan DPC-26/+18
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-27/+37
2020-11-08Auto merge of #78712 - petrochenkov:visitok, r=Aaron1011bors-16/+35
2020-11-06The renumber pass is long goneest31-2/+2
2020-11-06rustc_ast: Never clone empty token streams in mutable visitorVadim Petrochenkov-1/+1
2020-11-06rustc_ast: Visit tokens stored in AST nodes in mutable visitorVadim Petrochenkov-15/+34
2020-11-04fix a couple of clippy warnings:Matthias Krüger-1/+1
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-16/+16
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-12/+4
2020-11-03Rollup merge of #78376 - Aaron1011:feature/consistent-empty-expr, r=petrochenkovYuki Okushi-0/+7
2020-11-03Expand `NtExpr` tokens only in key-value attributesVadim Petrochenkov-53/+94
2020-11-02Treat trailing semicolon as a statement in macro callAaron Hill-0/+7
2020-11-01Do not remove tokens before AST json serializationVadim Petrochenkov-2/+3
2020-10-31parser: Cleanup `LazyTokenStream` and avoid some clonesVadim Petrochenkov-43/+22
2020-10-27Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petr...bors-0/+16