@Esteban Küber do you have an example of where a check like the one you mentioned here exists? I've not been able to find one.
@Esteban Küber just in case you missed this
I'll look around, but they are usually looking at the span for a macro backtrace
In this case you _won't_ have one because the span is for the invocation, not something coming from inside the macro
There are a couple of places that do a check on the snippet for
which is hacky as hell
@Esteban Küber yeah, that’s what I was trying to avoid doing.
I thought you might have meant there was a function for detecting the invocation span case.