about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving
AgeCommit message (Expand)AuthorLines
2022-07-09Avoid transposes in deriving code.Nicholas Nethercote-218/+183
2022-07-09Remove `FieldInfo::attrs`.Nicholas Nethercote-18/+14
2022-07-09Rename `FieldInfo` fields.Nicholas Nethercote-45/+59
2022-07-09Clarify args terminology.Nicholas Nethercote-109/+147
2022-07-05Inline and remove the `cs_fold_*` functions.Nicholas Nethercote-51/+17
2022-07-05Avoid the unnecessary innermost match in `partial_cmp`/`cmp`.Nicholas Nethercote-34/+34
2022-07-04Avoid unnecessary 1-tuples in derived code.Nicholas Nethercote-2/+10
2022-07-04Don't repeat `AssertParamIs{Clone,Eq}` assertions.Nicholas Nethercote-16/+35
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-111/+146
2022-07-04Don't use match-destructuring for derived ops on structs.Nicholas Nethercote-44/+80
2022-07-04Comment fixes.Nicholas Nethercote-2/+1
2022-07-01Change `Ty::Tuple` to `Ty::Unit`.Nicholas Nethercote-14/+8
2022-07-01Rename `Ty::Literal` as `Ty::Path`.Nicholas Nethercote-29/+18
2022-07-01Remove lifetime support in deriving code.Nicholas Nethercote-32/+11
2022-07-01Simplify pointer handling.Nicholas Nethercote-100/+43
2022-07-01`expand_deriving_clone` tweaks.Nicholas Nethercote-28/+22
2022-07-01Remove some commented-out code.Nicholas Nethercote-2/+0
2022-07-01Remove some unnecessary `pub`s.Nicholas Nethercote-3/+3
2022-07-01Remove `Substructure::self_args`.Nicholas Nethercote-18/+2
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-37/+2
2022-07-01Remove `Substructure::method_ident`.Nicholas Nethercote-9/+1
2022-07-01Remove unnecessary fields from `EnumNonMatchingCollapsed`.Nicholas Nethercote-30/+14
2022-07-01Use `split_{first,last}` in `cs_fold1`.Nicholas Nethercote-9/+8
2022-06-27Convert `process_variant` functions into closures.Nicholas Nethercote-16/+12
2022-06-27Factor out the repeated `assert_ty_bounds` function.Nicholas Nethercote-44/+39
2022-06-27Merge `build_enum_match_tuple` into `expand_enum_method_body`.Nicholas Nethercote-52/+20
2022-06-27Improve derived discriminant testing.Nicholas Nethercote-21/+16
2022-06-24Optimize the code produced by `derive(Debug)`.Nicholas Nethercote-88/+117
2022-06-23Rename some `ExtCtxt` methods.Nicholas Nethercote-3/+2
2022-05-27Modify `derive(Debug)` to use `Self` in struct literal to avoid redundant errorEsteban Küber-1/+3
2022-05-25Fix a typo on Struct `Substructure`Yuki Okushi-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-2/+2
2022-05-02fix most compiler/ doctestsElliot Roberts-10/+13
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1
2022-04-07Stabilize `derive_default_enum`Jacob Pratt-12/+1
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-05Change syntax for TyAlias where clausesJack Huey-0/+5
2022-02-19Adopt let else in more placesest31-22/+15
2022-02-16Rollup merge of #92366 - jhpratt:derive-default-enum, r=Mark-SimulacrumMatthias Krüger-3/+0
2022-02-05update commentlcnr-1/+1
2021-12-28Remove FIXMEJacob Pratt-3/+0
2021-12-09Remove redundant [..]sest31-10/+10
2021-12-03Annotate `derive`d spans and move span suggestion codeEsteban Kuber-61/+74
2021-12-03Remove some unnecessarily verbose codeEsteban Kuber-20/+5
2021-12-03Keep spans for generics in `#[derive(_)]` desugaringEsteban Kuber-23/+19
2021-11-07ast: Fix naming conventions in AST structuresVadim Petrochenkov-15/+15
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-2/+2
2021-10-08clippy::complexity fixesMatthias Krüger-1/+1
2021-09-29Fix truncate of 'bound params stack' by using the correct lengthAudun Halland-1/+1
2021-09-29Deriving: Include bound generic params for extracted type parameters in where...Audun Halland-10/+40