about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving
AgeCommit message (Expand)AuthorLines
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-28/+14
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-2/+2
2024-12-09Disallow `#[default] Variant {}` regardless of feature flagEsteban Küber-2/+14
2024-12-09Introduce `default_field_values` featureEsteban Küber-16/+61
2024-12-04make CoercePointee errors translatableDing Xiang Fei-41/+56
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-34/+19
2024-11-11remove attributes from generics in built-in derive macrosPonasKovas-0/+6
2024-10-27Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-referent,...bors-11/+11
2024-10-24Pass Ident by reference in ast Visitormaxcabrajac-1/+1
2024-10-24s/SmartPointer/CoerceReferent/gDing Xiang Fei-11/+11
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-5/+5
2024-10-12yeet some clonesMatthias Krüger-1/+1
2024-10-11Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiserbors-3/+1
2024-10-06Check that `#[pointee]` is applied only to generic argumentsBrezak-0/+64
2024-10-01Remove anon struct and union typesMichael Goulet-3/+1
2024-09-28remove couple redundant clonesMatthias Krüger-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-152/+113
2024-08-29Rollup merge of #123940 - kornelski:remove-derived-debug, r=UrgauGuillaume Gomez-0/+13
2024-08-28Rollup merge of #129467 - dingxiangfei2009:smart-pointer-relax-pointee, r=com...Jubilee-28/+47
2024-08-28fmt-debug optionKornel-0/+13
2024-08-29derive(SmartPointer): assume pointee from the single generic and better error...Ding Xiang Fei-28/+47
2024-08-16Add `warn(unreachable_pub)` to `rustc_builtin_macros`.Nicholas Nethercote-15/+15
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+4
2024-08-05Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r...Matthias Krüger-48/+6
2024-08-01reject pointee without ?SizedDing Xiang Fei-27/+23
2024-07-30derive(SmartPointer): rewrite bounds in where and generic boundsDing Xiang Fei-17/+227
2024-07-29Reformat `use` declarations.Nicholas Nethercote-46/+53
2024-07-27built-in derive: remove BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE hack and lintRalf Jung-48/+6
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-1/+38
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-1/+1
2024-07-04reject SmartPointer constructions not serving the purposeDing Xiang Fei-3/+36
2024-06-24SmartPointer derive-macroXiangfei Ding-0/+141
2024-06-04When `derive`ing, account for HRTB on `BareFn` fieldsEsteban Küber-1/+11
2024-05-23Rollup merge of #125156 - zachs18:for_loops_over_fallibles_behind_refs, r=Nil...Matthias Krüger-2/+2
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-4/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-1/+1
2024-05-15Fix new for_loops_over_fallibles hits in compiler.Zachary S-2/+2
2024-05-09Auto merge of #124157 - wutchzone:partial_eq, r=estebankbors-4/+3
2024-04-26Adjust some `pub`s.Nicholas Nethercote-48/+48
2024-04-23Do not add leading asterisk in the `PartialEq`Daniel Sedlak-3/+2
2024-04-23Fix typosDaniel Sedlak-1/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-6/+2
2024-04-16Avoid unnecessary `rustc_span::DUMMY_SP` usage.Nicholas Nethercote-2/+1
2024-04-14builtin-derive: tag → discriminantRalf Jung-60/+60
2024-03-28change BuiltinDeriveFn type to get ExtCtxt by immutable ref and fix signaturesklensy-13/+13
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-20/+20
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-23/+19
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-7/+7
2024-03-22Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkovMatthias Krüger-3/+2