about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2025-10-01mbe: Support `unsafe` attribute rulesJosh Triplett-3/+43
2025-10-01mbe: Rename a local variable to match corresponding field namesJosh Triplett-7/+7
2025-09-26Rollup merge of #147031 - joshtriplett:mbe-opt-collect, r=lcnrMatthias Krüger-6/+6
2025-09-25mbe: Simplify check_redundant_vis_repetitionJosh Triplett-6/+6
2025-09-22mbe: Switch dummy extension used for errors from `LegacyBang` to `Bang`Josh Triplett-8/+8
2025-09-19mbe: Fix feature gate for `macro_derive`Josh Triplett-1/+1
2025-09-14Move more early buffered lints to dyn lint diagnostics (4/N)León Orell Valerian Liehr-3/+2
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-6/+114
2025-08-14mbe: Parse macro `derive` rulesJosh Triplett-6/+53
2025-08-12Switch to a bitflags `MacroKinds` to support macros with more than one kindJosh Triplett-11/+15
2025-08-09mbe: Fix typo in attribute tracingJosh Triplett-1/+1
2025-08-08mbe: Handle applying attribute rules with pathsJosh Triplett-13/+157
2025-08-08mbe: Parse macro attribute rulesJosh Triplett-18/+78
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-1/+2
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-1/+1
2025-07-22mbe: Use concrete type for `get_unused_rule`Josh Triplett-7/+9
2025-07-13make `cfg_select` a builtin macroFolkert de Vries-27/+38
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-68/+46
2025-07-05mbe: Simplify a match to a let-elseJosh Triplett-3/+2
2025-07-05mbe: Add a helper to parse a single `TokenTree`Josh Triplett-21/+3
2025-07-05mbe: Introduce an enum for which part of a rule we're parsingJosh Triplett-2/+3
2025-07-03mbe: Gracefully handle macro rules that end after `=>`Josh Triplett-0/+9
2025-06-26mbe: Fold calls to `check_meta_variables` into the parser loopJosh Triplett-2/+1
2025-06-26Rewrite `macro_rules!` parser to not use the MBE engine itselfJosh Triplett-152/+51
2025-06-24mbe: Clean up code with non-optional `NonterminalKind`Trevor Gross-25/+24
2025-05-18Remove rustc_attr_data_structures re-export from rustc_attr_parsingmejrs-1/+1
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-15/+9
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-4/+4
2025-04-11suggest: remove redundant `$()?`around `vis` fragmentsMakai-6/+38
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-4/+4
2025-03-19Allow builtin macros to be used more than once.Mara Bos-2/+3
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-1/+1
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-5/+5
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-15/+5
2025-02-08Rustfmtbjorn3-19/+28
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-16split attributesJonathan Dönszelmann-1/+2
2024-12-15Add hir::AttributeJonathan Dönszelmann-2/+2
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-1/+1
2024-10-26expand: Stop using artificial `ast::Item` for macros loaded from metadataVadim Petrochenkov-55/+43
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-34/+28
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-1/+1
2024-08-07refactor(rustc_expand::mbe): Don't require full ExtCtxt when not necessaryFelix Rath-1/+4