about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/generic
AgeCommit message (Expand)AuthorLines
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-4/+4
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+2
2023-10-22Directly collect into ty_param_names instead of peeking to see if emptyDavid Tolnay-6/+4
2023-10-22Eliminate an "Extra scope required" obsoleted by NLLDavid Tolnay-55/+51
2023-10-22Rustfmt-compatible formatting for code snippets in rustc_builtin_macrosDavid Tolnay-40/+64
2023-09-18Rollup merge of #115891 - RalfJung:structural-trait-derive, r=nnethercoteMatthias Krüger-9/+13
2023-09-18simplify inject_impl_of_structural_traitRalf Jung-9/+13
2023-09-16Fix invalid markdown codeblock labelGuillaume Gomez-6/+6
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-5/+4
2023-07-16Add a comparison between match *self and intrinsics::unreachable()David Tolnay-2/+3
2023-07-16Generate safe stable code for derives on empty enumsDavid Tolnay-4/+13
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-1/+1
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-1/+1
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-3/+3
2023-03-11Address the new odd backticks tidy lint in compiler/est31-0/+1
2023-02-21Use `ThinVec` in `ast::ExprKind::Match`.Nicholas Nethercote-1/+1
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-9/+9
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-8/+8
2023-02-21Use `ThinVec` in `ast::WhereClause`.Nicholas Nethercote-1/+6
2023-02-21Use `ThinVec` in `ast::Generics` and related types.Nicholas Nethercote-5/+5
2023-02-19Auto merge of #108128 - clubby789:builtin-derived-attr, r=jackh726bors-2/+1
2023-02-16Properly check for builtin derivesclubby789-2/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-5/+3
2023-02-09Extend `BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE`.Nicholas Nethercote-20/+35
2023-02-07Add ~const bounds trait bounds when using derive_constMichael Goulet-9/+23
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-48/+87
2023-01-19Add enum for fieldless unificationclubby789-29/+61
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-1/+1
2022-12-06`rustc_builtin_macros`: remove `ref` patternsMaybe Waffle-31/+26
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-1/+1
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-38/+31
2022-11-14Remove TraitDef::generics.Nicholas Nethercote-26/+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-2/+4
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/+5
2022-09-29Fix docs in compiler/rustc_builtin_macros/src/deriving/generic/mod.rsreez12g-0/+5
2022-09-20Add the `#[derive_const]` attributeDeadbeef-2/+4
2022-09-05Fix `#[derive(Default)]` on a generic `#[default]` enum adding unnecessary `D...Daniel Henry-Mantilla-1/+5
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-12/+16
2022-09-01Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorinobors-8/+6
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-8/+6
2022-08-28Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillotbors-2/+1
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-3/+3
2022-08-18Auto merge of #98655 - nnethercote:dont-derive-PartialEq-ne, r=dtolnaybors-16/+0