about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/clone.rs
AgeCommit message (Expand)AuthorLines
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-2/+2
2025-02-08Rustfmtbjorn3-8/+14
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-10-01Remove anon struct and union typesMichael Goulet-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-16/+10
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+4
2024-04-26Adjust some `pub`s.Nicholas Nethercote-1/+1
2024-04-14builtin-derive: tag → discriminantRalf Jung-2/+2
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-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-02-12Add `#[derive(Clone, Copy)]` to anonymous adtsFrank King-1/+3
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-6/+6
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-1/+3
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-4/+4
2023-05-26Avoid some unnecessary local `attr` variables.Nicholas Nethercote-2/+1
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-4/+4
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-1/+1
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-1/+1
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+1
2023-01-21Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoeristerbors-2/+4
2023-01-19Add enum for fieldless unificationclubby789-2/+4
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2022-12-06`rustc_builtin_macros`: remove `ref` patternsMaybe Waffle-8/+8
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-2/+1
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-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-2/+2
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-1/+1
2022-08-17Remove `TraitDef::attributes`.Nicholas Nethercote-1/+0
2022-07-11Handle tags better.Nicholas Nethercote-4/+2
2022-07-11Remove unnecessary `&*` sigil pairs in derived code.Nicholas Nethercote-1/+1
2022-07-09Remove `FieldInfo::attrs`.Nicholas Nethercote-1/+1
2022-07-09Rename `FieldInfo` fields.Nicholas Nethercote-1/+1
2022-07-09Clarify args terminology.Nicholas Nethercote-1/+1
2022-07-04Don't repeat `AssertParamIs{Clone,Eq}` assertions.Nicholas Nethercote-8/+18
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-8/+7
2022-07-01Rename `Ty::Literal` as `Ty::Path`.Nicholas Nethercote-1/+1
2022-07-01Simplify pointer handling.Nicholas Nethercote-1/+1
2022-07-01`expand_deriving_clone` tweaks.Nicholas Nethercote-28/+22
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-2/+0
2022-06-27Convert `process_variant` functions into closures.Nicholas Nethercote-6/+6
2022-06-27Factor out the repeated `assert_ty_bounds` function.Nicholas Nethercote-22/+16
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-02-19Adopt let else in more placesest31-4/+3