about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
2025-10-01mbe: Support `unsafe` attribute rulesJosh Triplett-1/+16
2025-09-26Rollup merge of #146849 - joshtriplett:macro-reduce-legacy-bang, r=petrochenkovMatthias Krüger-13/+10
2025-09-22Switch `dummy_bang` from `LegacyBang` to `Bang`Josh Triplett-13/+10
2025-09-21Port #[macro_export] to the new attribute parsing infrastructureJonathan Brouwer-3/+3
2025-09-08fixup limit handling codeJana Dönszelmann-1/+2
2025-08-22Refactor lint buffering to avoid requiring a giant enumJosh Triplett-2/+2
2025-08-13Rollup merge of #145153 - joshtriplett:macro-kinds-plural, r=petrochenkovGuillaume Gomez-6/+42
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-6/+40
2025-08-11Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)Sasha Pourcelot-4/+1
2025-08-09remove `P`Deadbeef-48/+47
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-07-31remove rustc_attr_data_structuresJana Dönszelmann-1/+2
2025-07-28Rollup merge of #143607 - JonathanBrouwer:proc_macro_attrs, r=jdonszelmann,tr...Matthias Krüger-86/+14
2025-07-27split up define into define_extern and define_localLorrensP-2158466-1/+1
2025-07-26Remove now un-used codeJonathan Brouwer-74/+0
2025-07-26Use the new attributes throughout the codebaseJonathan Brouwer-12/+14
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-0/+8
2025-07-22mbe: Use concrete type for `get_unused_rule`Josh Triplett-6/+3
2025-07-17resolve: Change `&mut Resolver` to `&Resolver` when possibleVadim Petrochenkov-1/+1
2025-07-15Define datastructures for `#[cfg]` attribute, move StrippedCfgItemJonathan Brouwer-2/+8
2025-07-13make `cfg_select` a builtin macroFolkert de Vries-0/+20
2025-07-05mbe: Defer checks for `compile_error!` until reporting an unused macro ruleJosh Triplett-0/+4
2025-07-03Port `#[target_feature]` to the new attribute parsing infrastructureJonathan Brouwer-1/+1
2025-06-25Don't give APITs names with macro expansion placeholder fragments in itMichael Goulet-0/+4
2025-06-16Remove an `njn:` comment accidentaly left behind.Nicholas Nethercote-1/+2
2025-06-12Introduce `-Zmacro-stats`.Nicholas Nethercote-1/+5
2025-06-06Rollup merge of #141603 - nnethercote:reduce-P, r=fee1-deadGuillaume Gomez-1/+1
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-1/+1
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-1/+1
2025-05-18Remove rustc_attr_data_structures re-export from rustc_attr_parsingmejrs-1/+1
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-4/+4
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-1/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-4/+3
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-1/+14
2025-03-19Allow builtin macros to be used more than once.Mara Bos-10/+11
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-4/+8
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-15/+34
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-0/+16
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-13/+20
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-4/+5
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
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-2/+2
2024-12-16split attributesJonathan Dönszelmann-6/+6
2024-12-15Add hir::AttributeJonathan Dönszelmann-8/+10
2024-11-10ensure that all publicly reachable const fn have const stability infoRalf Jung-3/+1
2024-10-25Re-do recursive const stability checksRalf Jung-1/+3
2024-10-22Rollup merge of #125205 - ChrisDenton:verbatim-include, r=jieyouxuMatthias Krüger-1/+7