about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/deriving/default.rs
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-1/+1
2025-07-17Make `derive_const` usable within libcore againOli Scherer-0/+1
2025-02-08Rustfmtbjorn3-16/+24
2025-01-14remove Rustc{En,De}codable from library and compilerRalf Jung-1/+1
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-2/+1
2024-12-09Disallow `#[default] Variant {}` regardless of feature flagEsteban Küber-2/+14
2024-12-09Introduce `default_field_values` featureEsteban Küber-11/+56
2024-10-24Pass Ident by reference in ast Visitormaxcabrajac-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-7/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+6
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-1/+1
2024-05-15Fix new for_loops_over_fallibles hits in compiler.Zachary S-2/+2
2024-04-26Adjust some `pub`s.Nicholas Nethercote-1/+1
2024-03-28change BuiltinDeriveFn type to get ExtCtxt by immutable ref and fix signaturesklensy-1/+1
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-4/+4
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-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-25/+28
2024-02-20Add newtype for `IsTuple`clubby789-2/+2
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-9/+9
2023-11-21improve help for multiple `#[default]` variantsLukas Markeffsky-9/+8
2023-05-26Avoid some unnecessary local `attr` variables.Nicholas Nethercote-2/+1
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-79/+45
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-6/+6
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-2/+2
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+1
2023-01-19Add enum for fieldless unificationclubby789-1/+1
2022-12-06`rustc_builtin_macros`: remove `ref` patternsMaybe Waffle-8/+5
2022-12-01Rollup merge of #105106 - jhpratt:issue-105101, r=TaKO8KiMatthias Krüger-1/+1
2022-11-30Fix ICE from #105101Jacob Pratt-1/+1
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-2/+1
2022-11-15Rollup merge of #104391 - nnethercote:deriving-cleanups, r=jackh726Matthias Krüger-1/+0
2022-11-14Remove TraitDef::generics.Nicholas Nethercote-1/+0
2022-11-12Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obkDylan DPC-0/+2
2022-09-20Add the `#[derive_const]` attributeDeadbeef-0/+2
2022-09-05Fix `#[derive(Default)]` on a generic `#[default]` enum adding unnecessary `D...Daniel Henry-Mantilla-0/+20
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-2/+2
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-4/+2
2022-08-17Remove `TraitDef::attributes`.Nicholas Nethercote-1/+0
2022-07-09Clarify args terminology.Nicholas Nethercote-1/+1
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-23/+18
2022-07-01Simplify pointer handling.Nicholas Nethercote-1/+1
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-2/+0
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1
2022-04-07Stabilize `derive_default_enum`Jacob Pratt-12/+1
2022-02-19Adopt let else in more placesest31-3/+2
2021-12-28Remove FIXMEJacob Pratt-3/+0
2021-07-27Prohibit `#[default]` in invalid placesJacob Pratt-3/+37
2021-07-27Add machine-applicable suggestionsJacob Pratt-8/+42