about summary refs log tree commit diff
path: root/compiler/rustc_ast/src
AgeCommit message (Expand)AuthorLines
2022-08-23Add some useful comments to `LitKind`.Nicholas Nethercote-2/+4
2022-08-23Rollup merge of #100565 - TaKO8Ki:suggest-adding-missing-semicolon-before-ite...Matthias Krüger-0/+24
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-68/+28
2022-08-20Auto merge of #100564 - nnethercote:box-ast-MacCall, r=spastorinobors-11/+11
2022-08-19use <[u8]>::escape_ascii instead of core::ascii::escape_defaultKaDiWa-6/+1
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2
2022-08-17Rollup merge of #100018 - nnethercote:clean-up-LitKind, r=petrochenkovMatthias Krüger-18/+12
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-3/+6
2022-08-16Rename some things related to literals.Nicholas Nethercote-11/+11
2022-08-16Add some more AST node size assertions.Nicholas Nethercote-0/+5
2022-08-16Remove `{ast,hir}::WhereEqPredicate::id`.Nicholas Nethercote-3/+1
2022-08-16Avoid code duplication in `{MetaItem,MetaItemKind}::value_str`.Nicholas Nethercote-7/+1
2022-08-16Shrink `ast::Attribute`.Nicholas Nethercote-25/+42
2022-08-15suggest adding a missing semicolon before an itemTakayuki Maeda-0/+24
2022-08-12Adjust cfgsMark Rousskov-1/+0
2022-08-11Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillotMatthias Krüger-23/+9
2022-08-11Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillotMatthias Krüger-3/+3
2022-08-11Rollup merge of #100391 - nnethercote:improve-size-assertions, r=lqdDylan DPC-17/+20
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`.Nicholas Nethercote-8/+5
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_enum_def`.Nicholas Nethercote-15/+4
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-10/+11
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-3/+3
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-01Auto merge of #100024 - matthiaskrgr:rollup-36ab4wx, r=matthiaskrgrbors-13/+24
2022-08-01Improve size assertions.Nicholas Nethercote-13/+24
2022-08-01Shrink `Token`.Nicholas Nethercote-4/+6
2022-07-30Auto merge of #99887 - nnethercote:rm-TreeAndSpacing, r=petrochenkovbors-115/+112
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-115/+112
2022-07-29Remove `visit_name` from the AST visitor.Nicholas Nethercote-16/+3
2022-07-16Stabilize `let_chains`Caio-1/+1
2022-07-12Add back expr size checksMaybe Waffle-2/+2
2022-07-12Lower closure binders to hir & properly check themMaybe Waffle-1/+1
2022-07-12Comment out expr size checkMaybe Waffle-2/+2
2022-07-12Parse closure bindersMaybe Waffle-8/+62
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-24Rollup merge of #98394 - Enselic:fixup-rustc_main-renames, r=petrochenkovYuki Okushi-1/+1
2022-06-22Fixup missing renames from `#[main]` to `#[rustc_main]`Martin Nordholts-1/+1
2022-06-20Merge `TokenStreamBuilder::push` into `TokenStreamBuilder::build`.Nicholas Nethercote-53/+32
2022-06-20Remove `TokenStream::from_streams`.Nicholas Nethercote-40/+37
2022-06-20Remove `Cursor::index`.Nicholas Nethercote-4/+0
2022-06-20Remove `Cursor::append`.Nicholas Nethercote-11/+1
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