You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an outer procedural macro attribute is executed, the provided TokenStream is missing span information for the inner attributes.
Example:
#[repro]#[magic(foo = "bar")]pubfntest(){}
For the above, the repro attribute is a procedural macro attribute. The magic attribute is actually something that the repro attribute respects and strips off when generating the code.
However, the span information for the magic attribute is missing from the TokenStream given to the repro procedural macro attribute.