about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-26Rollup merge of #124391 - nnethercote:builtin_macros-cleanups, r=fee1-deadJacob Pratt-182/+11
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-179/+3
2024-04-26Introduce `DeriveResolution`.Nicholas Nethercote-3/+8
2024-04-25debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[...Vadim Petrochenkov-40/+35
2024-03-27Suggest correct path in include_bytes!Kornel-1/+16
2024-03-27Helper function for resolve_pathKornel-14/+11
2024-03-13delay expand macro bang when there has indeterminate pathbohan-24/+71
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+2
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+2
2024-03-05Rollup merge of #121829 - nnethercote:dummy-tweaks-2, r=petrochenkovMatthias Krüger-2/+12
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Decouple `DummyAstNode` and `DummyResult`.Nicholas Nethercote-2/+12
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-11/+7