about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/derive.rs
AgeCommit message (Expand)AuthorLines
2025-08-22Move validate_attr to `rustc_attr_parsing`Jonathan Brouwer-1/+1
2025-08-11Allow attr entries to declare list of alternatives for `List` and `NamedValue...Esteban Küber-2/+4
2025-03-25Use `Ident::dummy()` in `dummy_annotatable`.Nicholas Nethercote-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-10-07Rename nested_meta to meta_item_innercodemountains-1/+1
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-1/+0
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-12/+1
2024-07-29Deny unsafe on more builtin attributescarbotaniuman-0/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
2024-06-06Handle safe casecarbotaniuman-0/+1
2024-06-06Fix formattingcarbotaniuman-1/+1
2024-06-06Fix buildcarbotaniuman-3/+3
2024-06-06Disallow unsafe in derivecarbotaniuman-1/+11
2024-04-26Introduce `DeriveResolution`.Nicholas Nethercote-6/+13
2024-04-25Name the field in `Expander`.Nicholas Nethercote-2/+4
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-4/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-06-19use `ErrorGuaranteed` instead of booleansLukas Markeffsky-5/+9
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-28/+12
2022-12-02Remove `token::Lit` from `ast::MetaItemLit`.Nicholas Nethercote-4/+6
2022-11-29Avoid more unnecessary `MetaItem`/`Attribute` conversions.Nicholas Nethercote-22/+23
2022-11-29Avoid unnecessary `MetaItem`/`Attribute` conversions.Nicholas Nethercote-4/+5
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-1/+1
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-2/+2
2022-09-20Add the `#[derive_const]` attributeDeadbeef-4/+5
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-1/+2
2022-08-16Rename some things related to literals.Nicholas Nethercote-3/+3
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-04-30Save colon span to suggest bounds.Camille GILLOT-0/+1
2022-03-01Improve allowness of the unexpected_cfgs lintLoïc BRANSTETT-1/+6
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-1/+1
2021-09-24derive: Do not configure or clone items unless necessaryVadim Petrochenkov-7/+33
2021-09-24builtin_macros: Make #[derive(A, B, ...)] cfg-eval its input only for `A, B, ...Vadim Petrochenkov-2/+2
2021-07-19Various diagnostics clean ups/tweaksEsteban Küber-1/+4
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-2/+4
2021-04-04resolve/expand: Cache intermediate results of `#[derive]` expansionVadim Petrochenkov-25/+32
2021-03-07rustc_builtin_macros: Share some more logic between `derive` and `cfg_eval`Vadim Petrochenkov-18/+3
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-3/+6
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-9/+3
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-0/+132