about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving
AgeCommit message (Expand)AuthorLines
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
2024-03-12Remove unused fields in some structuresArthur Carcano-7/+7
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-3/+2
2024-03-05Use `ControlFlow` in AST visitors.Jason Newcomb-9/+9
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-1/+2
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-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-25/+28
2024-02-20Add newtype for `IsTuple`clubby789-5/+14
2024-02-12Add `#[derive(Clone, Copy)]` to anonymous adtsFrank King-1/+5
2024-01-24remove StructuralEq traitRalf Jung-13/+0
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-35/+38
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-4/+4
2023-12-03Parse a pattern with no armNadrieril-1/+1
2023-11-23Rollup merge of #118131 - lukas-code:multi-default, r=wesleywiserMatthias Krüger-9/+8
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-4/+4
2023-11-21improve help for multiple `#[default]` variantsLukas Markeffsky-9/+8
2023-11-09Emit #[inline] on derive(Debug)Ben Kimock-1/+1
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+2
2023-10-25Auto merge of #116236 - dtolnay:builtinmacrocomment, r=cjgillotbors-94/+112
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