summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust
AgeCommit message (Expand)AuthorLines
2025-05-04Initial support for dynamically linked cratesBryanskiy-5/+45
2025-05-03Avoid an indent for labelled loops.Nicholas Nethercote-2/+2
2025-05-03Remove fake `BoxMarker`s.Nicholas Nethercote-10/+1
2025-05-02Rollup merge of #137474 - VlaDexa:shebang-placement, r=wesleywiserStuart Cook-0/+19
2025-04-30Rollup merge of #140312 - nnethercote:DelimArgs-spacing, r=petrochenkovMatthias Krüger-9/+24
2025-04-29Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwUTrevor Gross-0/+11
2025-04-29Improve pretty-printing of braces.Nicholas Nethercote-9/+24
2025-04-28Add or-patterns to pattern typesOli Scherer-0/+11
2025-04-28Inline and remove three pretty-printer methods.Nicholas Nethercote-42/+22
2025-04-28Use `PrintState::head` in `PrintState::block_to_string`.Nicholas Nethercote-4/+1
2025-04-28Introduce `BoxMarker` to pretty-printing.Nicholas Nethercote-192/+208
2025-04-27Rollup merge of #140280 - nnethercote:improve-if-else-printing, r=UrgauMatthias Krüger-4/+6
2025-04-27Rollup merge of #140246 - nnethercote:fix-never-pattern-printing, r=NadrierilMatthias Krüger-0/+1
2025-04-26Improve HIR pretty-printing of if/else some more.Nicholas Nethercote-1/+1
2025-04-25Improve pretty printing of if/else.Nicholas Nethercote-3/+5
2025-04-25Fix some pretty printing indents.Nicholas Nethercote-2/+2
2025-04-24Fix pretty printing of never pattern match arms.Nicholas Nethercote-0/+1
2025-04-24Rollup merge of #140232 - nnethercote:rm-unnecessary-clones, r=SparrowLiiMatthias Krüger-2/+2
2025-04-24Remove some unnecessary clones.Nicholas Nethercote-2/+2
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-10/+9
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-16/+2
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-2/+2
2025-04-07Rollup merge of #139112 - m-ou-se:super-let, r=lcnrStuart Cook-0/+3
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-8/+3
2025-04-04Fix typo in pretty printing super let.Mara Bos-1/+1
2025-04-04Implement `super let`.Mara Bos-0/+3
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-2/+1
2025-04-03Use `BinOpKind` instead of `BinOp` for function args where possible.Nicholas Nethercote-6/+6
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-16/+2
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-41/+42
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-8/+3
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-1/+1
2025-03-25Allow defining opaques in statics and constsMichael Goulet-20/+45
2025-03-25Make printing define_opaque less goofyMichael Goulet-7/+19
2025-03-20Auto merge of #138747 - matthiaskrgr:rollup-68x44rw, r=matthiaskrgrbors-2/+10
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-4/+2
2025-03-18Apply suggestions from code reviewEric Holk-1/+1
2025-03-17expand: Leave traces when expanding `cfg_attr` attributesVadim Petrochenkov-6/+13
2025-03-14Preserve yield position during pretty printingEric Holk-2/+12
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-12/+12
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+9
2025-03-06Use closure parse codeSantiago Pastorino-0/+1
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+8
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-0/+7
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-22/+23
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-20/+21
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-1/+2
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-4/+3
2025-02-23Put shebang at the top of pretty-printVladislav-0/+19