about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/derive.rs
AgeCommit message (Expand)AuthorLines
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