summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/cmp
AgeCommit message (Expand)AuthorLines
2023-01-19Add enum for fieldless unificationclubby789-4/+4
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-12/+9
2022-11-15Rollup merge of #104391 - nnethercote:deriving-cleanups, r=jackh726Matthias Krüger-4/+0
2022-11-14Remove TraitDef::generics.Nicholas Nethercote-4/+0
2022-11-12Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obkDylan DPC-0/+8
2022-09-20Add the `#[derive_const]` attributeDeadbeef-0/+8
2022-09-05Fix `#[derive(Default)]` on a generic `#[default]` enum adding unnecessary `D...Daniel Henry-Mantilla-0/+4
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-7/+8
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-4/+4
2022-08-18Auto merge of #98655 - nnethercote:dont-derive-PartialEq-ne, r=dtolnaybors-41/+25
2022-08-17Remove `TraitDef::attributes`.Nicholas Nethercote-4/+0
2022-08-01Don't derive `PartialEq::ne`.Nicholas Nethercote-41/+25
2022-07-11Handle tags better.Nicholas Nethercote-22/+0
2022-07-11Remove unnecessary `&*` sigil pairs in derived code.Nicholas Nethercote-10/+19
2022-07-09Simplify `cs_fold`.Nicholas Nethercote-123/+70
2022-07-09Fix some inconsistencies.Nicholas Nethercote-58/+31
2022-07-09Rename `FieldInfo` fields.Nicholas Nethercote-23/+34
2022-07-09Clarify args terminology.Nicholas Nethercote-4/+4
2022-07-05Inline and remove the `cs_fold_*` functions.Nicholas Nethercote-3/+3
2022-07-05Avoid the unnecessary innermost match in `partial_cmp`/`cmp`.Nicholas Nethercote-9/+34
2022-07-04Don't repeat `AssertParamIs{Clone,Eq}` assertions.Nicholas Nethercote-8/+17
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-20/+19
2022-07-01Change `Ty::Tuple` to `Ty::Unit`.Nicholas Nethercote-1/+1
2022-07-01Rename `Ty::Literal` as `Ty::Path`.Nicholas Nethercote-8/+5
2022-07-01Remove lifetime support in deriving code.Nicholas Nethercote-1/+0
2022-07-01Simplify pointer handling.Nicholas Nethercote-7/+7
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-8/+0
2022-07-01Remove unnecessary fields from `EnumNonMatchingCollapsed`.Nicholas Nethercote-5/+5
2022-06-27Convert `process_variant` functions into closures.Nicholas Nethercote-10/+6
2022-06-27Factor out the repeated `assert_ty_bounds` function.Nicholas Nethercote-21/+9
2022-02-19Adopt let else in more placesest31-9/+6
2021-05-05Disallows `#![feature(no_coverage)]` on stable and betaRich Kadel-11/+3
2021-04-27adds feature gating of `no_coverage` at either crate- or function-levelRich Kadel-1/+10
2021-04-27Derived Eq no longer shows uncoveredRich Kadel-1/+2
2021-02-09use ufcs in derive(Ord) and derive(PartialOrd)Skgland-4/+7
2021-02-09Fix derived PartialOrd operatorsTomasz Miąsko-190/+7
2020-08-30mv compiler to compiler/mark-0/+625