about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/debug.rs
AgeCommit message (Expand)AuthorLines
2025-07-17Make `derive_const` usable within libcore againOli Scherer-0/+1
2025-01-14remove Rustc{En,De}codable from library and compilerRalf Jung-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-28fmt-debug optionKornel-0/+13
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-04-26Adjust some `pub`s.Nicholas Nethercote-1/+1
2024-04-14builtin-derive: tag → discriminantRalf Jung-1/+1
2024-03-28change BuiltinDeriveFn type to get ExtCtxt by immutable ref and fix signaturesklensy-1/+1
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-2/+2
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-1/+1
2024-03-12Remove unused fields in some structuresArthur Carcano-1/+1
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-2/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
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