rustc stuck forever in expand_bang_invoc
when $($p:vis)*
does not match
#42755
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Test case:
Compiling this stuck forever in the "expansion" pass.
cc #41022 (
:vis
tracking issue).Since
:vis
can match "nothing", the macro should error with "repetition matches empty token tree".The text was updated successfully, but these errors were encountered: