summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/clone.rs
AgeCommit message (Expand)AuthorLines
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
2021-07-19Auto merge of #87225 - estebank:cleanup, r=oli-obkbors-5/+1
2021-07-19Various diagnostics clean ups/tweaksEsteban Küber-5/+1
2021-07-17Use LocalExpnId where possible.Camille GILLOT-2/+3
2020-12-24use matches!() macro in more placesMatthias Krüger-4/+3
2020-08-30mv compiler to compiler/mark-0/+224