about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2025-10-02Rollup merge of #146535 - joshtriplett:mbe-unsafe-attr, r=petrochenkovMatthias Krüger-9/+49
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-29Rollup merge of #147040 - joshtriplett:mbe-fix-comments, r=petrochenkovMatthias Krüger-7/+4
2025-09-26Rollup merge of #147031 - joshtriplett:mbe-opt-collect, r=lcnrMatthias Krüger-6/+6
2025-09-26Rollup merge of #146849 - joshtriplett:macro-reduce-legacy-bang, r=petrochenkovMatthias Krüger-8/+8
2025-09-25mbe: Simplify check_redundant_vis_repetitionJosh Triplett-6/+6
2025-09-25mbe: macro_check: Fix function comments referencing non-existent parametersJosh Triplett-7/+4
2025-09-23Rollup merge of #146802 - joshtriplett:mbe-simplifications, r=petrochenkovMatthias Krüger-31/+39
2025-09-22mbe: Switch dummy extension used for errors from `LegacyBang` to `Bang`Josh Triplett-8/+8
2025-09-20mbe: metavar expressions: Use symbols rather than `ident.as_str()`Josh Triplett-13/+12
2025-09-20mbe: Factor out a function to transcribe a `ParseNtResult`Josh Triplett-0/+8
2025-09-20mbe: Simplify match in `transcribe_metavar`Josh Triplett-18/+19
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-09-14Move more early buffered lints to dyn lint diagnostics (1/N)León Orell Valerian Liehr-18/+33
2025-09-07support integer literals in `${concat()}`cyrgani-1/+17
2025-09-04Rollup merge of #146090 - Kobzol:invisible-origin-eq, r=petrochenkovStuart Cook-2/+18
2025-09-02Remove special implementation of `PartialEq` for `InvisibleOrigin` outside ma...Jakub Beránek-2/+18
2025-09-01Add compiler error when trying to use concat metavar expr in repetitionsjullang-1/+6
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/+131
2025-08-14mbe: Parse macro `derive` rulesJosh Triplett-6/+53
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-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-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/+85
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-1/+2
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-1/+2
2025-07-22mbe: Use concrete type for `get_unused_rule`Josh Triplett-7/+9
2025-07-13Auto merge of #143461 - folkertdev:cfg-select-builtin-macro, r=petrochenkovbors-27/+38
2025-07-13make `cfg_select` a builtin macroFolkert de Vries-27/+38
2025-07-09mbe: Refactor the diagnostic for unrecognized metavariable expressionsTrevor Gross-9/+5
2025-07-09mbe: Refactor diagnostics for invalid metavar expression syntaxTrevor Gross-15/+69
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/+51
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-22/+20
2025-07-05mbe: Introduce an enum for which part of a rule we're parsingJosh Triplett-17/+36
2025-07-03mbe: Gracefully handle macro rules that end after `=>`Josh Triplett-0/+9
2025-07-02Rollup merge of #143070 - joshtriplett:macro-rules-parse, r=petrochenkovMatthias Krüger-206/+61
2025-07-01Rollup merge of #143245 - tgross35:metavariable-expr-organization, r=petroche...Matthias Krüger-52/+57
2025-06-30mbe: Move `MetaVarExprConcatElem` closer to where it is usedTrevor Gross-14/+14