summary refs log tree commit diff
path: root/compiler/rustc_ast/src
AgeCommit message (Expand)AuthorLines
2021-02-04Rollup merge of #81645 - m-ou-se:panic-lint, r=estebank,flip1995Mara Bos-1/+1
2021-02-04Stabilize feature(iterator_fold_self): Iterator::reduceMara Bos-1/+0
2021-02-03Make panic/assert calls in rustc compatible with Rust 2021.Mara Bos-1/+1
2021-02-01Assert the size of the refactored enumsDániel Buga-0/+10
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-53/+73
2021-01-22Refactor token collection to capture trailing token immediatelyAaron Hill-11/+0
2021-01-17Replace let Some(..) = with .is_some()wcampbell-1/+1
2021-01-16Remove unnecessary manual shrink_to_fit callsDániel Buga-3/+0
2021-01-15Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkovbors-10/+66
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-10/+66
2021-01-10Rework diagnostics for wrong number of generic argsPatryk Wychowaniec-2/+12
2021-01-09ast: Remove some indirection layers from values in key-value attributesVadim Petrochenkov-37/+31
2021-01-08Rollup merge of #80784 - petrochenkov:nontspan, r=Aaron1011Yuki Okushi-1/+1
2021-01-08Rollup merge of #80659 - pierwill:edit-tokenstream, r=davidtwcoYuki Okushi-16/+17
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