about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
2025-08-19Rollup merge of #139345 - smoelius:into-iter-stability, r=lcnr许杰友 Jieyou Xu (Joe)-0/+1
2025-08-15Extend `QueryStability` to handle `IntoIterator` implementationsSamuel Moelius-0/+1
2025-08-14mbe: Handle applying `macro_rules` derivesJosh Triplett-13/+162
2025-08-14mbe: Parse macro `derive` rulesJosh Triplett-7/+55
2025-08-13Rollup merge of #145153 - joshtriplett:macro-kinds-plural, r=petrochenkovGuillaume Gomez-52/+79
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-12mbe: Rename macro parsing state names to use `Bang` instead of `Not`Josh Triplett-9/+9
2025-08-12Detect and report macro kind mismatches early, and more preciselyJosh Triplett-12/+0
2025-08-12Expand documentation of `GlobDelegation`Josh Triplett-0/+2
2025-08-12Switch to a bitflags `MacroKinds` to support macros with more than one kindJosh Triplett-31/+68
2025-08-11Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)Sasha Pourcelot-4/+1
2025-08-10Rollup merge of #145200 - joshtriplett:mbe-typo-fix, r=lqdJacob Pratt-1/+1
2025-08-09mbe: Fix typo in attribute tracingJosh Triplett-1/+1
2025-08-09remove `P`Deadbeef-250/+262
2025-08-09Auto merge of #145086 - jdonszelmann:revert-allow-internal-unsafe, r=Kobzolbors-1/+4
2025-08-08Rollup merge of #144579 - joshtriplett:mbe-attr, r=petrochenkovTrevor Gross-45/+301
2025-08-08mbe: Handle applying attribute rules with pathsJosh Triplett-24/+176
2025-08-08mbe: Emit an error if a macro call has no function-like rulesJosh Triplett-3/+21
2025-08-08mbe: Parse macro attribute rulesJosh Triplett-20/+106
2025-08-08Revert "Port `#[allow_internal_unsafe]` to the new attribute system"Jana Dönszelmann-1/+4
2025-08-07Port `#[allow_internal_unsafe]` to the new attribute systemSasha Pourcelot-4/+1
2025-08-02Auto merge of #129183 - estebank:cfg-visitor, r=davidtwcobors-2/+1
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-31remove rustc_attr_data_structuresJana Dönszelmann-3/+4
2025-07-28Rollup merge of #143607 - JonathanBrouwer:proc_macro_attrs, r=jdonszelmann,tr...Matthias Krüger-179/+14
2025-07-27split up define into define_extern and define_localLorrensP-2158466-1/+1
2025-07-26Remove now un-used codeJonathan Brouwer-167/+0
2025-07-26Use the new attributes throughout the codebaseJonathan Brouwer-12/+14
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-4/+13
2025-07-22mbe: Use concrete type for `get_unused_rule`Josh Triplett-14/+13
2025-07-18Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-deadMatthias Krüger-2/+8
2025-07-17Make `derive_const` usable within libcore againOli Scherer-2/+8
2025-07-17Rollup merge of #143984 - JonathanBrouwer:fix-feature-gate-ice, r=UrgauMatthias Krüger-8/+18
2025-07-17resolve: Change `&mut Resolver` to `&Resolver` when possibleVadim Petrochenkov-1/+1
2025-07-15Fix ice for feature-gated cfg attributes applied to the crateJonathan Brouwer-8/+18
2025-07-15Define attribute parser & config evaluatorJonathan Brouwer-32/+58
2025-07-15Define datastructures for `#[cfg]` attribute, move StrippedCfgItemJonathan Brouwer-2/+8
2025-07-13Auto merge of #143461 - folkertdev:cfg-select-builtin-macro, r=petrochenkovbors-27/+58
2025-07-13make `cfg_select` a builtin macroFolkert de Vries-27/+58
2025-07-09mbe: Refactor the diagnostic for unrecognized metavariable expressionsTrevor Gross-9/+20
2025-07-09mbe: Refactor diagnostics for invalid metavar expression syntaxTrevor Gross-15/+124
2025-07-06mbe: Clarify comments about error handling in `compile_declarative_macro`Josh Triplett-3/+2
2025-07-06mbe: Factor out a helper to check for unexpected EOF in definitionJosh Triplett-7/+14
2025-07-06mbe: Factor out a helper to check an LHSJosh Triplett-2/+7
2025-07-06mbe: Simplify compile_declarative_macro by factoring out some variablesJosh Triplett-11/+4
2025-07-05mbe: Defer checks for `compile_error!` until reporting an unused macro ruleJosh Triplett-73/+55