about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
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
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-5/+8
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-7/+6
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-15/+86
2025-03-21expand: Do not report `cfg_attr` traces on macros as unused attributesVadim Petrochenkov-1/+1
2025-03-11Keep items around even if builtin macros on them fail to parseOli Scherer-2/+2
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-3/+35
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-3/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-1/+1
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-13/+19
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-1/+1
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-1/+1
2024-11-24parse guard patternsNadrieril-1/+1
2024-11-24refactor pat parser method names/doc-comments to agree with RFC 3637Max Niederman-1/+1
2024-11-20Itemsmaxcabrajac-1/+1
2024-11-15Add WalkItemKind::Ctxt so AssocCtxt is not sent to non-Assoc ItemKindsmaxcabrajac-2/+2
2024-10-28Tweak `expand_incomplete_parse` warning.Nicholas Nethercote-2/+3
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-2/+2
2024-10-07Rename nested_meta to meta_item_innercodemountains-1/+1
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-2/+2