Skip to content

2023-04-04

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Apr 07:43
Auto merge of #14468 - lowr:patch/expand-macro-bang, r=Veykril

Expand Macro Recursively: don't append "!" to non-bang macro name

When we run `Expand Macro Recursively`, we prepend a comment "Recursive expansion of foo! macro" to the expansion result. I've noticed we unconditionally render the macro name with "!" and, while super subtle, I feel a bit awkward when the macro is either a derive or attribute macro.