Procedural macros can be defined inside non-module item in the root module #52270
Labels
A-decl-macros-1-2
Area: Declarative macros 1.2
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Something like this even passes through proc macro registrar generation!
And registrar interprets the outer
foo
as the proc macro instead of the inner one.The text was updated successfully, but these errors were encountered: