about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving
AgeCommit message (Expand)AuthorLines
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-10/+20
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-9/+6
2025-02-11Rollup merge of #136107 - dingxiangfei2009:coerce-pointee-wellformed, r=compi...Matthias Krüger-19/+55
2025-02-09move repr(transparent) checks to coherenceDing Xiang Fei-10/+0
2025-02-09rename the trait to validity and place a feature gate afrontDing Xiang Fei-2/+2
2025-02-09introduce CoercePointeeWellformed for coherence checks at typeck stageDing Xiang Fei-9/+55
2025-02-08Rustfmtbjorn3-32/+51
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-0/+1
2025-02-02Rollup merge of #134272 - RalfJung:destabilize-rustc_encodable_decodable, r=o...Matthias Krüger-523/+10
2025-01-27Remove redundant to_ident_string callsMichael Goulet-2/+2
2025-01-14remove Rustc{En,De}codable from library and compilerRalf Jung-523/+10
2024-12-21Use E0665 for missing `#[default]` errorEsteban Küber-4/+9
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