Pass span to ast generation so warnings can be traced to the macro invocation