about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state.rs
AgeCommit message (Expand)AuthorLines
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
2021-12-29Fix spacing and ordering of words in pretty printed ImplDavid Tolnay-3/+6
2021-12-29Fix double space in pretty printed TryBlockDavid Tolnay-1/+0
2021-12-29Rollup merge of #92372 - dtolnay:fntype, r=jackh726Matthias Krüger-4/+1
2021-12-29Rollup merge of #92371 - dtolnay:attrblock, r=oli-obkMatthias Krüger-11/+12
2021-12-28Print space after formal generic params in fn typeDavid Tolnay-4/+1
2021-12-28Remove pretty printer space inside block with only outer attrsDavid Tolnay-11/+12
2021-12-28Parse and suggest moving where clauses after equals for type aliasesJack Huey-28/+28
2021-12-27Remove &self from PrintState::to_stringDavid Tolnay-22/+22
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-10Rollup merge of #91625 - est31:remove_indexes, r=oli-obkMatthias Krüger-14/+14
2021-12-09Remove redundant [..]sest31-14/+14
2021-12-08Pretty print break and continue without redundant spaceDavid Tolnay-5/+3
2021-12-07Remove unneeded access to pretty printer's `s` field in favor of derefDavid Tolnay-165/+165
2021-12-07Rollup merge of #91562 - dtolnay:asyncspace, r=Mark-SimulacrumMatthias Krüger-1/+0
2021-12-05Delete duplicated helpers from HIR printerDavid Tolnay-33/+19
2021-12-05Pretty print async block without redundant spaceDavid Tolnay-1/+0
2021-12-05Rollup merge of #91437 - dtolnay:emptybrace, r=nagisaMatthias Krüger-24/+44
2021-12-03Add initial AST and MIR support for unwinding from inline assemblyAmanieu d'Antras-0/+3
2021-12-01Pretty print empty blocks as {}David Tolnay-24/+44
2021-11-10Add support for specifying multiple clobber_abi in `asm!`asquared31415-2/+2
2021-11-07Auto merge of #90668 - matthiaskrgr:clippy_nov7, r=jyn514bors-5/+1
2021-11-07more clippy fixesMatthias Krüger-5/+1
2021-11-07ast: Fix naming conventions in AST structuresVadim Petrochenkov-17/+57
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-1/+1
2021-09-09Revert "Implement Anonymous{Struct, Union} in the AST"Felix S. Klock II-8/+0