about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src
AgeCommit message (Expand)AuthorLines
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-24/+24
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/+29
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-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-0/+9
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
2021-09-09Revert "Fix ast expanded printing for anonymous types"Felix S. Klock II-6/+10
2021-08-30Add let-else to ASTCameron Steffen-2/+8
2021-08-29Auto merge of #88262 - klensy:pprust-cow, r=nagisabors-48/+50
2021-08-28Treat macros as HIR itemsinquisitivecrystal-18/+30
2021-08-25Convert some functions to return Cow<'static,str> instead of String to reduce...klensy-48/+50
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-17/+10
2021-08-12Add support for clobber_abi to asm!Amanieu d'Antras-0/+10
2021-07-25use vec![] macro to create Vector with first item inside instead of pushing t...Matthias Krüger-2/+1
2021-07-08Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez-3/+3
2021-07-03rustc_ast_pretty: Don't print space after `$`Noah Lev-3/+3
2021-06-29Rollup merge of #86358 - klensy:pp-loop, r=Mark-SimulacrumYuki Okushi-1/+0
2021-06-25Auto merge of #86599 - Amanieu:asm_raw, r=nagisabors-0/+3
2021-06-24Add a "raw" option for asm! which ignores format string specifiersAmanieu d'Antras-0/+3
2021-06-23fix pretty print for `loop` in mir and hirklensy-1/+0
2021-06-22Auto merge of #85193 - pnkfelix:readd-support-for-inner-attrs-within-match, r...bors-0/+5
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-1/+1
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-6/+19
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-24Fix ast expanded printing for anonymous typesjedel1043-10/+6
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-17/+33
2021-05-15Remove some unncessary spaces from pretty-printed tokenstream outputAaron Hill-1/+4
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-112/+113
2021-05-11Re-add support for parsing (and pretty-printing) inner-attributes within body...Felix S. Klock II-0/+5
2021-05-03parser: Remove support for inner attributes on non-block expressionsVadim Petrochenkov-26/+9
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-2/+2
2021-03-27Remove (lots of) dead codeJoshua Nelson-28/+0