about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/cmp/partial_ord.rs
AgeCommit message (Expand)AuthorLines
2025-07-17Make `derive_const` usable within libcore againOli Scherer-0/+1
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
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
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-10/+10
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-1/+1
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-03Parse a pattern with no armNadrieril-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-23/+28
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-2/+2
2023-05-26Avoid some unnecessary local `attr` variables.Nicholas Nethercote-3/+1
2023-02-21Use `ThinVec` in `ast::ExprKind::Match`.Nicholas Nethercote-1/+1
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-28Auto merge of #103659 - clubby789:improve-partialord-derive, r=nagisabors-9/+73
2023-01-19Add enum for fieldless unificationclubby789-1/+1
2023-01-15Special case deriving `PartialOrd` for certain enum layoutsclubby789-9/+73
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-11/+0
2022-07-11Remove unnecessary `&*` sigil pairs in derived code.Nicholas Nethercote-4/+1
2022-07-09Simplify `cs_fold`.Nicholas Nethercote-51/+30
2022-07-09Fix some inconsistencies.Nicholas Nethercote-20/+11
2022-07-09Rename `FieldInfo` fields.Nicholas Nethercote-8/+12
2022-07-09Clarify args terminology.Nicholas Nethercote-1/+1
2022-07-05Inline and remove the `cs_fold_*` functions.Nicholas Nethercote-1/+1
2022-07-05Avoid the unnecessary innermost match in `partial_cmp`/`cmp`.Nicholas Nethercote-4/+18
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-5/+5
2022-07-01Rename `Ty::Literal` as `Ty::Path`.Nicholas Nethercote-6/+3
2022-07-01Remove lifetime support in deriving code.Nicholas Nethercote-1/+0
2022-07-01Simplify pointer handling.Nicholas Nethercote-2/+2
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-2/+0
2022-07-01Remove unnecessary fields from `EnumNonMatchingCollapsed`.Nicholas Nethercote-2/+2
2022-02-19Adopt let else in more placesest31-3/+2
2021-02-09use ufcs in derive(Ord) and derive(PartialOrd)Skgland-2/+4
2021-02-09Fix derived PartialOrd operatorsTomasz Miąsko-190/+7
2020-08-30mv compiler to compiler/mark-0/+302