rust/compiler/rustc_expand
Josh Triplett 551cb9f1f4 mbe: Use concrete type for get_unused_rule
Rather than adding `get_unused_rule` to the `TTMacroExpander` trait, put
it on the concrete `MacroRulesMacroExpander`, and downcast to that type
via `Any` in order to call it.

Suggested-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
2025-07-22 00:36:10 -07:00
..
src mbe: Use concrete type for get_unused_rule 2025-07-22 00:36:10 -07:00
Cargo.toml Do not get proc_macro from the sysroot in rustc 2025-05-27 15:49:28 +00:00
messages.ftl mbe: Refactor the diagnostic for unrecognized metavariable expressions 2025-07-09 21:11:09 -04:00