about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
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
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-2/+0
2024-08-10rustc_expand: remove some redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-2/+0
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+4
2024-07-31Fix verbatim paths used with include!Chris Denton-1/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+13
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-13/+7
2024-06-19Rollup merge of #124135 - petrochenkov:deleglob, r=fmease许杰友 Jieyou Xu (Joe)-1/+46
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+3
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-1/+46
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-3/+3
2024-05-28Convert `proc_macro_back_compat` lint to an unconditional error.Nicholas Nethercote-25/+16
2024-05-28Use let chains in `pretty_printing_compatibility_hack`.Nicholas Nethercote-41/+32
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Make early lints translatableXiretza-10/+8
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-1/+0
2024-05-03Inline and remove three `DummyResult` methods.Nicholas Nethercote-32/+22
2024-05-03Remove unnecessary re-export of `MacroKind`.Nicholas Nethercote-3/+1