summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state.rs
AgeCommit message (Expand)AuthorLines
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-2/+4
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-04Enable unused_parens for match armswcampbell-1/+1
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-5/+5
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-44/+49
2022-06-02Revert #96682.Nicholas Nethercote-18/+5
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-26/+31
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-0/+8
2022-05-05Rollup merge of #96682 - nnethercote:show-invisible-delims, r=petrochenkovMatthias Krüger-5/+18
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-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-1/+1
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-1/+1
2022-02-03Change struct expr pretty printing to match rustfmt styleDavid Tolnay-0/+3
2022-02-03Change pp indent to signed to allow negative indentsDavid Tolnay-1/+1
2022-01-30Restore a visual alignment mode for block commentsDavid Tolnay-1/+1
2022-01-30Compute indent never relative to current columnDavid Tolnay-1/+1
2022-01-27try apply `rustc_pass_by_value` to `Span`lcnr-2/+2
2022-01-19Rollup merge of #93065 - dtolnay:ringbuffer, r=lcnrMatthias Krüger-8/+12
2022-01-18Eliminate eof token stateDavid Tolnay-8/+12
2022-01-18Move item-related pretty printing functions to moduleDavid Tolnay-636/+2
2022-01-18Move expr-related pretty printing functions to moduleDavid Tolnay-564/+3
2022-01-17Use Term in ProjectionPredicatekadmin-3/+1
2022-01-17Add termkadmin-7/+6
2022-01-17add eq constraints on associated constantskadmin-3/+7
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-56/+0
2022-01-17Rollup merge of #92921 - dtolnay:printernew, r=wesleywiserMatthias Krüger-2/+2
2022-01-16Rollup merge of #92487 - dtolnay:traitalias, r=matthewjasperMatthias Krüger-3/+3
2022-01-14Rename Printer constructor from mk_printer() to Printer::new()David Tolnay-2/+2
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-56/+0
2022-01-07Rollup merge of #92336 - dtolnay:printstateself, r=michaelwoeristerEric Huss-22/+22
2022-01-06Rollup merge of #92417 - dtolnay:printimpl, r=jackh726Matthias Krüger-3/+6
2022-01-03Rollup merge of #92418 - dtolnay:emptystructpat, r=michaelwoeristerMatthias Krüger-2/+8
2022-01-01Fix unclosed boxes in pretty printing of TraitAliasDavid Tolnay-3/+3
2022-01-01Rollup merge of #92420 - dtolnay:patrange, r=Mark-SimulacrumMatthias Krüger-1/+0
2022-01-01Rollup merge of #92412 - dtolnay:tryspace, r=Mark-SimulacrumMatthias Krüger-1/+0
2021-12-29Fix whitespace in pretty printed PatKind::RangeDavid Tolnay-1/+0
2021-12-29Fix spacing in pretty printed PatKind::Struct with no fieldsDavid Tolnay-2/+8
2021-12-29Move equal sign back into head iboxDavid Tolnay-1/+3
2021-12-29Fix spacing of pretty printed const item without bodyDavid Tolnay-1/+1