fn span_includes_semi(src: &str, span: Span) -> SpanExpand description
Extend a span forward to include the trailing ; (if present). The
AST’s GlobalVar span ends at the name, not the semicolon — for textual
replacement we want to swallow the whole declaration.