about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
2025-10-01mbe: `expand_invoc`: Add comment about not needing to check safety of `Legacy...Josh Triplett-0/+3
2025-10-01mbe: Support `unsafe` attribute rulesJosh Triplett-1/+5
2025-09-22Switch `dummy_bang` from `LegacyBang` to `Bang`Josh Triplett-1/+1
2025-09-14Move more early buffered lints to dyn lint diagnostics (4/N)León Orell Valerian Liehr-2/+1
2025-09-14Move more early buffered lints to dyn lint diagnostics (2/N)León Orell Valerian Liehr-1/+1
2025-09-08fixup limit handling codeJana Dönszelmann-1/+3
2025-08-24Warn on macro calls for attributes that had this behaviour previouslyJonathan Brouwer-6/+8
2025-08-22Auto merge of #144689 - JonathanBrouwer:share_parse_path, r=jdonszelmannbors-6/+16
2025-08-22Use the new attribute parser throughout the codebaseJonathan Brouwer-5/+16
2025-08-22Move validate_attr to `rustc_attr_parsing`Jonathan Brouwer-2/+1
2025-08-22Auto merge of #145410 - cuviper:expand-stack, r=lqdbors-1/+2
2025-08-21Rollup merge of #145590 - nnethercote:ModKind-Inline, r=petrochenkovJacob Pratt-5/+6
2025-08-19Prevent impossible combinations in `ast::ModKind`.Nicholas Nethercote-5/+6
2025-08-14rustc_expand: ensure stack in `InvocationCollector::visit_expr`Josh Stone-1/+2
2025-08-14mbe: Handle applying `macro_rules` derivesJosh Triplett-0/+31
2025-08-13Rollup merge of #145153 - joshtriplett:macro-kinds-plural, r=petrochenkovGuillaume Gomez-14/+13
2025-08-13Rollup merge of #145274 - compiler-errors:unused-must-use, r=fmeaseJakub Beránek-0/+1
2025-08-12Remove unused must_useMichael Goulet-0/+1
2025-08-12Switch to a bitflags `MacroKinds` to support macros with more than one kindJosh Triplett-14/+13
2025-08-09remove `P`Deadbeef-62/+60
2025-08-01tiny cleanupEsteban Küber-4/+2
2025-08-01remove recursive search for itemsEsteban Küber-33/+15
2025-08-01Limit how deep we visit items to find cfg'd out namesEsteban Küber-3/+12
2025-08-01Detect more `cfg`d out items in resolution errorsEsteban Küber-14/+24
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-3/+3
2025-07-15Fix ice for feature-gated cfg attributes applied to the crateJonathan Brouwer-2/+2
2025-07-15Define attribute parser & config evaluatorJonathan Brouwer-18/+20
2025-06-25Don't give APITs names with macro expansion placeholder fragments in itMichael Goulet-0/+10
2025-06-22Auto merge of #142706 - fee1-dead-contrib:push-zsznlqyrzsqo, r=oli-obkbors-6/+6
2025-06-21Rollup merge of #142690 - petrochenkov:expnoparam, r=compiler-errorsJana Dönszelmann-46/+46
2025-06-20Use a symbol for `ExpansionConfig::crate_name`.Nicholas Nethercote-5/+5
2025-06-19completely deduplicate `Visitor` and `MutVisitor`Deadbeef-6/+6
2025-06-18expand: Remove some unnecessary generic parametersVadim Petrochenkov-46/+46
2025-06-17Rollup merge of #142371 - fee1-dead-contrib:push-xqlkumzurkus, r=petrochenkovJacob Pratt-17/+18
2025-06-12Introduce `-Zmacro-stats`.Nicholas Nethercote-45/+145
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-17/+18
2025-06-06Rollup merge of #141603 - nnethercote:reduce-P, r=fee1-deadGuillaume Gomez-21/+16
2025-05-30Rollup merge of #141430 - fee1-dead-contrib:push-nmzoprvtsvww, r=petrochenkovMatthias Krüger-30/+69
2025-05-29avoid some usages of `&mut P<T>` in AST visitorsDeadbeef-1/+1
2025-05-29remove `visit_clobber` and move `DummyAstNode` to `rustc_expand`Deadbeef-30/+69
2025-05-28consider glob imports in cfg suggestionbohan-3/+3
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-21/+16
2025-05-08Remove associated type `InvocationCollectorNode::AttrsTy`Nicholas Nethercote-18/+12
2025-05-03Report the `unsafe_attr_outside_unsafe` lint at the closest nodeUrgau-1/+5
2025-04-22Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkovbors-3/+2
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-3/+2
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-6/+6
2025-04-10Address review comments.Nicholas Nethercote-1/+1
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-5/+5
2025-04-01Address review comments.Nicholas Nethercote-3/+1