summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/generic
AgeCommit message (Expand)AuthorLines
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-0/+1
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-2/+9
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-9/+6
2025-02-08Rustfmtbjorn3-4/+6
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-0/+1
2025-01-14remove Rustc{En,De}codable from library and compilerRalf Jung-20/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-4/+2
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-1/+1
2024-12-09Introduce `default_field_values` featureEsteban Küber-4/+4
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-21/+7
2024-11-11remove attributes from generics in built-in derive macrosPonasKovas-0/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-14/+12
2024-08-16Add `warn(unreachable_pub)` to `rustc_builtin_macros`.Nicholas Nethercote-14/+14
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-07-29Reformat `use` declarations.Nicholas Nethercote-9/+8
2024-07-27built-in derive: remove BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE hack and lintRalf Jung-48/+6
2024-06-04When `derive`ing, account for HRTB on `BareFn` fieldsEsteban Küber-1/+11
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-04-26Adjust some `pub`s.Nicholas Nethercote-23/+23
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-44/+44
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-12/+12
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-8/+8
2024-03-12Remove unused fields in some structuresArthur Carcano-5/+5
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-6/+7
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-5/+1
2024-02-20Add newtype for `IsTuple`clubby789-2/+11
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-11/+13
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