Support 2021 Edition pat
matcher in macro_rules
#9055
Labels
A-macro
macro expansion
Broken Window
Bugs / technical debt to be addressed immediately
S-unactionable
Issue requires feedback, design decisions or is blocked on other work
When a macro is defined in an edition 2021 crate, the
:pat
matcher should match "pattern_top
" instead of "pattern_single
", which allows or-patterns.:pat_param
will match "pattern_single
" in all editions.The text was updated successfully, but these errors were encountered: