summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2021-07-11Auto merge of #83918 - workingjubilee:stable-rangefrom-pat, r=joshtriplettbors-1/+4
2021-06-25Auto merge of #86599 - Amanieu:asm_raw, r=nagisabors-0/+1
2021-06-24Add a "raw" option for asm! which ignores format string specifiersAmanieu d'Antras-0/+1
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-3/+3
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-6/+8
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-0/+4
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-9/+1
2021-05-12Add more precise span informations to generic typesGiacomo Stevanato-1/+1
2021-04-20Auto merge of #84334 - klensy:typo-compiler, r=jyn514bors-1/+1
2021-04-19fix few typosklensy-1/+1
2021-04-11Match against attribute name when validating attributesTomasz Miąsko-0/+1
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-1/+1
2021-04-04Add notesJubilee Young-1/+4
2021-03-27Remove (lots of) dead codeJoshua Nelson-64/+0
2021-03-18hir: Preserve used syntax in `TyKind::TraitObject`Vadim Petrochenkov-1/+1
2021-03-17Auto merge of #83188 - petrochenkov:field, r=lcnrbors-11/+18
2021-03-16ast: Reduce size of `ExprKind` by boxing fields of `ExprKind::Struct`Vadim Petrochenkov-2/+9
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-10/+10
2021-03-15More precise spans for HIR pathsVadim Petrochenkov-0/+8
2021-03-14expand: Resolve and expand inner attributes on out-of-line modulesVadim Petrochenkov-1/+1
2021-03-09Rollup merge of #82841 - hvdijk:x32, r=joshtriplettMara Bos-4/+4
2021-03-08Rollup merge of #82854 - estebank:issue-82827, r=oli-obkMara Bos-0/+8
2021-03-07Account for `if (let pat = expr) {}`Esteban Küber-0/+8
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-10/+0
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-4/+4
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-81/+0
2021-02-25Rollup merge of #82321 - bugadani:ast3, r=varkorDylan DPC-2/+2
2021-02-21New pass to deduplicate blocksSimon Vandel Sillesen-2/+2
2021-02-20Remove some P-sDániel Buga-2/+2
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-15/+18
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-1/+1
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-0/+15
2021-02-01Assert the size of the refactored enumsDániel Buga-0/+10
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-35/+54
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-1/+10
2021-01-09ast: Remove some indirection layers from values in key-value attributesVadim Petrochenkov-7/+8
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-0/+2
2020-12-30Rollup merge of #80128 - pierwill:pierwill-docs-fieldpat, r=jyn514Mara Bos-6/+6
2020-12-29More uses of the matches! macroLingMan-10/+4
2020-12-28Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPCDylan DPC-36/+9
2020-12-26stabilize min_const_genericsBastian Kauschke-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-36/+9
2020-12-17Edit rustc_ast::ast::FieldPat docspierwill-6/+6
2020-12-09Accept arbitrary expressions in key-value attributes at parse timeVadim Petrochenkov-16/+1
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-5/+43
2020-11-26Properly handle attributes on statementsAaron Hill-5/+43
2020-11-25ast and parserb-naber-0/+1