summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/cmp
AgeCommit message (Expand)AuthorLines
2024-01-24remove StructuralEq traitRalf Jung-13/+0
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-4/+5
2023-12-03Parse a pattern with no armNadrieril-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-24/+31
2023-09-18simplify inject_impl_of_structural_traitRalf Jung-9/+27
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-4/+4
2023-05-26Avoid some unnecessary local `attr` variables.Nicholas Nethercote-13/+8
2023-02-21Use `ThinVec` in `ast::ExprKind::Match`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-2/+2
2023-02-01Fix syntax in `-Zunpretty-expanded` output for derived `PartialEq`.Nicholas Nethercote-5/+19
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+4
2023-01-28Auto merge of #103659 - clubby789:improve-partialord-derive, r=nagisabors-9/+73
2023-01-19Add enum for fieldless unificationclubby789-4/+4
2023-01-15Special case deriving `PartialOrd` for certain enum layoutsclubby789-9/+73
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