about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/cmp
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-5/+4
2025-07-17Make `derive_const` usable within libcore againOli Scherer-0/+5
2025-06-03Rollup merge of #141724 - Sol-Ell:issue-141141-fix, r=nnethercoteMatthias Krüger-57/+158
2025-06-02Separately check equality of the scalar types and compound types in the order...Ell-57/+158
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-1/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-1/+1
2025-02-08Rustfmtbjorn3-4/+7
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-8/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-12/+9
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+16
2024-05-09Auto merge of #124157 - wutchzone:partial_eq, r=estebankbors-3/+2
2024-04-26Adjust some `pub`s.Nicholas Nethercote-5/+5
2024-04-23Do not add leading asterisk in the `PartialEq`Daniel Sedlak-3/+2
2024-04-14builtin-derive: tag → discriminantRalf Jung-10/+10
2024-03-28change BuiltinDeriveFn type to get ExtCtxt by immutable ref and fix signaturesklensy-4/+4
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-3/+3
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-1/+1
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