clippy_utils::macros

Function span_is_local

Source
pub fn span_is_local(span: Span) -> bool
Expand description

Checks whether the span is from the root expansion or a locally defined macro