about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/debug.rs
AgeCommit message (Expand)AuthorLines
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-2/+2
2023-11-09Emit #[inline] on derive(Debug)Ben Kimock-1/+1
2023-02-21Use `ThinVec` in `ast::ExprKind::Match`.Nicholas Nethercote-1/+1
2023-02-21Use `ThinVec` in `ast::PatKind::Struct`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-1/+1
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-7/+8
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-6/+4
2023-02-07Add ~const bounds trait bounds when using derive_constMichael Goulet-1/+4
2023-02-02Don't generate unecessary `&&self.field` in deriving Debugclubby789-5/+20
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+1
2023-01-19Special case `derive(Debug)` for fieldless enumsclubby789-2/+49
2023-01-19Add enum for fieldless unificationclubby789-4/+5
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-4/+3
2022-11-15Rollup merge of #104391 - nnethercote:deriving-cleanups, r=jackh726Matthias Krüger-1/+0
2022-11-14Remove TraitDef::generics.Nicholas Nethercote-1/+0
2022-11-12Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obkDylan DPC-0/+2
2022-09-20Add the `#[derive_const]` attributeDeadbeef-0/+2
2022-09-05Fix `#[derive(Default)]` on a generic `#[default]` enum adding unnecessary `D...Daniel Henry-Mantilla-0/+1
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-1/+1
2022-08-18Rollup merge of #100669 - nnethercote:attribute-cleanups, r=spastorinoMatthias Krüger-1/+0
2022-08-17Remove `TraitDef::attributes`.Nicholas Nethercote-1/+0
2022-08-16Make `ExtCtxt::expr_lit` non-`pub`.Nicholas Nethercote-9/+3
2022-07-11Handle tags better.Nicholas Nethercote-2/+2
2022-07-11Remove unnecessary `&*` sigil pairs in derived code.Nicholas Nethercote-5/+4
2022-07-09Rename `FieldInfo` fields.Nicholas Nethercote-2/+2
2022-07-09Clarify args terminology.Nicholas Nethercote-2/+2
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-8/+7
2022-07-01Rename `Ty::Literal` as `Ty::Path`.Nicholas Nethercote-2/+2
2022-07-01Simplify pointer handling.Nicholas Nethercote-3/+2
2022-07-01Remove some commented-out code.Nicholas Nethercote-2/+0
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-2/+0
2022-06-24Optimize the code produced by `derive(Debug)`.Nicholas Nethercote-88/+117
2021-09-10Introduce a fast path that avoids the `debug_tuple` abstraction when derivingPatrick Walton-3/+17
2021-08-30Add let-else to ASTCameron Steffen-2/+2
2021-02-10Borrow builder only once in debug deriveTomasz Miąsko-9/+12
2021-02-01placate tidy.Felix S. Klock II-10/+4
2021-02-01Use UFCS instead of method calls in `derive(Debug)`. See issue 81211 for disc...Felix S. Klock II-15/+25
2020-11-26Properly handle attributes on statementsAaron Hill-1/+2
2020-11-13Reserve space in advanceDániel Buga-1/+1
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-1/+1
2020-08-30mv compiler to compiler/mark-0/+137