about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty
AgeCommit message (Expand)AuthorLines
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-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-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-35/+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/+43
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-5/+5
2022-05-05Rollup merge of #96682 - nnethercote:show-invisible-delims, r=petrochenkovMatthias Krüger-5/+18
2022-05-05Rollup merge of #96628 - joshtriplett:stabilize-then-some, r=m-ou-seYuki Okushi-1/+0
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-8/+20
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-3/+14
2022-05-04Stabilize `bool::then_some`Josh Triplett-1/+0
2022-05-04Show invisible delimeters (within comments) when pretty printing.Nicholas Nethercote-5/+18
2022-05-02fix most compiler/ doctestsElliot Roberts-5/+5
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
2022-04-27Avoid producing `NoDelim` values in `MacArgs::delim()`.Nicholas Nethercote-18/+20
2022-04-16Rollup merge of #94985 - dtolnay:constattr, r=pnkfelixDylan DPC-4/+15
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-2/+6
2022-03-28Remove `Nonterminal::NtTT`.Nicholas Nethercote-1/+0
2022-03-15Parse inner attributes on inline const blockDavid Tolnay-4/+15
2022-03-05Change syntax for TyAlias where clausesJack Huey-4/+34
2022-02-07Pretty print ItemKind::Use in rustfmt styleDavid Tolnay-15/+39
2022-02-03Change struct expr pretty printing to match rustfmt styleDavid Tolnay-31/+83
2022-02-03Support offsetting the most recent breakDavid Tolnay-0/+6
2022-02-03Change pp indent to signed to allow negative indentsDavid Tolnay-9/+8
2022-02-03Add trailing comma supportDavid Tolnay-7/+27
2022-02-03Rollup merge of #93515 - dtolnay:convenience, r=davidtwcoYuki Okushi-75/+78
2022-01-31Factor convenience functions out of main printer implementationDavid Tolnay-75/+78
2022-01-31Allow any line to have at least 60 charsDavid Tolnay-1/+4
2022-01-31Extract constant MARGIN out of Printer structDavid Tolnay-7/+6