about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving
AgeCommit message (Expand)AuthorLines
2023-01-19Add enum for fieldless unificationclubby789-43/+78
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-15Special case deriving `PartialOrd` for certain enum layoutsclubby789-9/+73
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-5/+4
2022-12-06`rustc_builtin_macros`: remove `ref` patternsMaybe Waffle-64/+56
2022-12-01Rollup merge of #105106 - jhpratt:issue-105101, r=TaKO8KiMatthias Krüger-1/+1
2022-11-30Fix ICE from #105101Jacob Pratt-1/+1
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-18/+13
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-6/+6
2022-11-21Streamline deriving on packed structs.Nicholas Nethercote-70/+24
2022-11-15Rollup merge of #104391 - nnethercote:deriving-cleanups, r=jackh726Matthias Krüger-50/+31
2022-11-14Remove TraitDef::generics.Nicholas Nethercote-38/+26
2022-11-14Remove `addr_of` argument from `create_struct_pattern_fields`.Nicholas Nethercote-9/+3
2022-11-14Clarify `expand_struct_method_body`.Nicholas Nethercote-4/+3
2022-11-12Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obkDylan DPC-15/+48
2022-10-15Mark derived StructuralEq as automatically derived.Camille GILLOT-5/+11
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-1/+1
2022-10-06Auto merge of #99324 - reez12g:issue-99144, r=jyn514bors-0/+5
2022-10-03Rollup merge of #101040 - danielhenrymantilla:no-bounds-for-default-annotated...Matthias Krüger-1/+35
2022-09-29Fix docs in compiler/rustc_builtin_macros/src/deriving/generic/mod.rsreez12g-0/+5
2022-09-20Add the `#[derive_const]` attributeDeadbeef-15/+48
2022-09-05Fix `#[derive(Default)]` on a generic `#[default]` enum adding unnecessary `D...Daniel Henry-Mantilla-1/+35
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-12/+16
2022-09-01Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorinobors-19/+18
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-19/+18
2022-08-28Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillotbors-2/+1
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-19/+17
2022-08-18Auto merge of #98655 - nnethercote:dont-derive-PartialEq-ne, r=dtolnaybors-57/+25
2022-08-18Rollup merge of #100669 - nnethercote:attribute-cleanups, r=spastorinoMatthias Krüger-21/+5
2022-08-17Rollup merge of #100018 - nnethercote:clean-up-LitKind, r=petrochenkovMatthias Krüger-9/+3
2022-08-17Remove `attrs` arg from `typaram` and `mk_ty_param`.Nicholas Nethercote-4/+3
2022-08-17Remove `TraitDef::attributes`.Nicholas Nethercote-17/+2
2022-08-16Remove `{ast,hir}::WhereEqPredicate::id`.Nicholas Nethercote-5/+1
2022-08-16Make `ExtCtxt::expr_lit` non-`pub`.Nicholas Nethercote-9/+3
2022-08-13avoid cloning and then iteratingKaDiWa-2/+1
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`.Nicholas Nethercote-6/+2
2022-08-01Don't derive `PartialEq::ne`.Nicholas Nethercote-57/+25
2022-07-18Don't add attribute to allow unused-qualifications to derive impl'sSamrat Man Singh-9/+1
2022-07-13Use `&{self.x}` for packed `Copy` structs.Nicholas Nethercote-19/+33
2022-07-11Handle tags better.Nicholas Nethercote-211/+167
2022-07-11Move the no-variants handling code earlier in `expand_enum_method_body`.Nicholas Nethercote-5/+6
2022-07-11Avoid some unnecessary blocks in derive output.Nicholas Nethercote-0/+8
2022-07-11Rename tag-related things.Nicholas Nethercote-23/+20
2022-07-11Remove unnecessary `&*` sigil pairs in derived code.Nicholas Nethercote-39/+65
2022-07-11Remove unnecessary sigils and `ref`s in derived code.Nicholas Nethercote-89/+55
2022-07-11Remove `mutbl` argument from `create_struct_patterns`.Nicholas Nethercote-4/+1
2022-07-09Minor updates based on review comments.Nicholas Nethercote-15/+10
2022-07-09Simplify `cs_fold`.Nicholas Nethercote-162/+114
2022-07-09Fix some inconsistencies.Nicholas Nethercote-58/+31
2022-07-09Cut down large comment about zero-variant enums.Nicholas Nethercote-49/+3