79810658

Date: 2025-11-05 22:24:32
Score: 2.5
Natty:
Report link

Surrounding all the code with a top-level block is exactly what I was trying to avoid. Otherwise I would just stick with a proc macro attribute attached to a surrounding module. I see why using statics in the macros is not guaranteed to work in the future, but isn’t there absolutely no way to make macros communicate?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Nicola Gigante