about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust
AgeCommit message (Expand)AuthorLines
2022-12-02Remove `token::Lit` from `ast::MetaItemLit`.Nicholas Nethercote-1/+1
2022-12-02Add `StrStyle` to `ast::LitKind::ByteStr`.Nicholas Nethercote-1/+2
2022-12-02Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`.Nicholas Nethercote-1/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-15/+15
2022-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-1/+1
2022-12-01Auto merge of #104861 - nnethercote:attr-cleanups, r=petrochenkovbors-8/+11
2022-11-29add `FIXME:` where it belongs Waffle Maybe-1/+1
2022-11-29`rustc_ast_pretty`: remove `ref` patternsMaybe Waffle-216/+214
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-8/+11
2022-11-28Keep track of the start of the argument block of a closureSarthak Singh-0/+1
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-1/+1
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-6/+6
2022-11-28Remove `Lit::from_included_bytes`.Nicholas Nethercote-2/+2
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-4/+4
2022-11-23Suggest `.clone()` or `ref binding` on E0382Esteban Küber-1/+1
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-23/+17
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-8/+13
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-6/+10
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-0/+4
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-1/+1
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-2/+4
2022-09-06Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillotbors-16/+10
2022-09-03Fix global_asm macro pretty printingMichael Goulet-0/+2
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-16/+10
2022-08-17Rollup merge of #100018 - nnethercote:clean-up-LitKind, r=petrochenkovMatthias Krüger-1/+1
2022-08-16Rename some things related to literals.Nicholas Nethercote-1/+1
2022-08-16Shrink `ast::Attribute`.Nicholas Nethercote-2/+2
2022-08-11Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillotMatthias Krüger-2/+2
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-5/+9
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-2/+2
2022-08-04Enable unused_parens for match armswcampbell-1/+1
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-5/+5
2022-07-12Parse closure bindersMaybe Waffle-0/+11
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-2/+2
2022-06-16Fix pretty printing of empty type bound lists in where-clauseDavid Tolnay-49/+72
2022-06-02Revert #96682.Nicholas Nethercote-18/+5
2022-05-23Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillotDylan DPC-5/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-31/+1
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-2/+1
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-4/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-34/+39
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-2/+2
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-3/+41
2022-05-05Rollup merge of #96682 - nnethercote:show-invisible-delims, r=petrochenkovMatthias Krüger-5/+18
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-8/+20
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-3/+14
2022-05-04Show invisible delimeters (within comments) when pretty printing.Nicholas Nethercote-5/+18
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-1/+13
2022-04-29Tweak `print_attr_item`.Nicholas Nethercote-7/+8
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-13/+15