about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2022-08-20Auto merge of #100564 - nnethercote:box-ast-MacCall, r=spastorinobors-11/+11
2022-08-17Rollup merge of #100018 - nnethercote:clean-up-LitKind, r=petrochenkovMatthias Krüger-2/+2
2022-08-17Box the `MacCall` in various types.Nicholas Nethercote-11/+11
2022-08-16Rollup merge of #100610 - nnethercote:ast-and-parser-tweaks, r=spastorinoDylan DPC-1/+5
2022-08-16Rename some things related to literals.Nicholas Nethercote-2/+2
2022-08-16Add some more AST node size assertions.Nicholas Nethercote-0/+5
2022-08-16Remove `{ast,hir}::WhereEqPredicate::id`.Nicholas Nethercote-1/+0
2022-08-16Shrink `ast::Attribute`.Nicholas Nethercote-2/+8
2022-08-11Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillotMatthias Krüger-1/+1
2022-08-11Rollup merge of #100391 - nnethercote:improve-size-assertions, r=lqdDylan DPC-17/+20
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-6/+5
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-1/+1
2022-08-10Add a couple more AST node size assertions.Nicholas Nethercote-0/+2
2022-08-10Avoid repeating qualifiers on `static_assert_size` calls.Nicholas Nethercote-17/+18
2022-08-04Move LifetimeCollectVisitor to rustc_ast_loweringSantiago Pastorino-59/+0
2022-08-04Explicitly gather lifetimes and definitions in RPITSantiago Pastorino-1/+60
2022-08-01Improve size assertions.Nicholas Nethercote-13/+24
2022-07-12Add back expr size checksMaybe Waffle-2/+2
2022-07-12Comment out expr size checkMaybe Waffle-2/+2
2022-07-12Parse closure bindersMaybe Waffle-1/+26
2022-07-08Auto merge of #98758 - nnethercote:more-derive-output-improvements, r=Mark-Si...bors-0/+8
2022-07-04Don't repeat `AssertParamIs{Clone,Eq}` assertions.Nicholas Nethercote-0/+8
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-4/+7
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-3/+3
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-3/+3
2022-06-08Rollup merge of #97856 - compiler-errors:bad-let-suggestions, r=estebankMichael Goulet-0/+16
2022-06-07Don't suggest adding let in certain if conditionsMichael Goulet-0/+16
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-3/+3
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-3/+1
2022-06-03Remove emit_unitbjorn3-2/+2
2022-06-03Remove support for -Zast-json and -Zast-json-noexpandbjorn3-3/+0
2022-05-23Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillotDylan DPC-10/+0
2022-05-22rustc_ast: Support MacArgs::inner_tokens for arbitrary expressionsVadim Petrochenkov-16/+3
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-2/+1
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-1/+0
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-10/+1
2022-05-20Introduce BareFnTy::decl_span and fix generics span.Camille GILLOT-0/+2
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-17/+0
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-1/+1
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-6/+58
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-6/+58
2022-05-02fix most compiler/ doctestsElliot Roberts-1/+1
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+5
2022-04-30Save colon span to suggest bounds.Camille GILLOT-0/+1
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-11/+11
2022-04-27Avoid producing `NoDelim` values in `MacArgs::delim()`.Nicholas Nethercote-3/+3
2022-04-17Auto merge of #96016 - Aaron1011:hash-name-cleanup, r=cjgillotbors-2/+2
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-1/+15
2022-04-13Remove last vestiges of skippng ident span hashingAaron Hill-2/+2
2022-04-10better error for binder on associated type boundMichael Goulet-1/+1